Fixes loading more than one tempo items.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
The track GetParam/SetParam methods are enabled in the segment and that
information is stored in the segment state not in the track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
subtracks)
- Better stubs for IDirectMusicTempoTrack::InitPlay and
IDirectMusicTempoTrack::EndPlay (InitPlay should return a valid
memory pointer so allocate it). Should be extended for all
IDirectMusicTrack objects.
- AudioPath crash fix (don't use DSound APIs if buffer is null).
- Move generic functions to dmime_main.c for future reuse (from
segment.c).
- IDirectMusicTempoTrack loading (many tempo case must be handled).
- IDirectMusicSegTriggerTrack loading implementation (now
DMRF/DirectMusic References loading should be done).
- completely rewritten headers (DX9 compat.; look much nicer now ;=)
- removed IDirectMusicSong and IDirectMusicMelodyFormulationTrack
(which are removed from DX9; weren't implemented in DX8 anyway)
- combined/simplified IDirectMusicSomething / IDirectMusicObject /
IPersistStream for objects that support loading
- implemented IDirectMusicObject on all such objects; via generic
functions
- combined IDirectMusicTrack(8)/IPersistStream on all tracks
- fully implemented IDirectMusicContainer (at least 90% if there are
no private interfaces)
- implemented IDirectMusicCollection (99% work & MS compliant
behaviour; except for instruments)
- tried to implement IDirectMusicInstrument (unfortunately uses some
dirty private interfaces... :(
- added dswave.dll; DirectMusic Wave
- some changes in style
- many, many more ;)
can use builtin dmloader and native other dm*.dlls)
- implemented proper creation of objects and retrieval of dmusic
interfaces from them (object, stream, ...)
- implemented all "standard track types" and appropriate stream (for
dmband, loading is almost complete)
- cleaned some obsolete stuff
- split debug channels