dmusic: framework for file loading
fenix at club-internet.fr
Sun Jun 22 10:29:01 CDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hi rok ;)
> As I've mentioned, we'll need a function for loading chunks from dmusic
> files. I tried to write one, and here's result; it's not very nice, but
> it works (sort of).
> At the time being, it only "loads" and displays data
> (--debugmsg=+dmfile for debug and --debugmsg=+dmfiledat for the display
> of data). I couldn't make it load data into IDirectMusic*Impl
> interfaces, because whatever I did, exception occured (maybe someone
> more familiar with this could do this (Raphael?)). Also, if someone has
> more robust and simpler function, please tell me.
> DMUSIC_FillSegmentFromFileHandle loads sample.sgt from DX SDK
> completely... however, i didn't try the other.
Impressive work ;)
> Also "fixed" a problem I've encountered while running 3DAudio.exe (from
> SDK). One of the latest patches added this clause:
> if (!ppDirectSound)
well, seem another christian regression ;)
for what i understand, this code must be the correct one:
> I don't know why, but it causes exception (i've commented it).
well Releasing a NULL object ;)
> - wine/dlls/dmusic/dmusic_private.h: added some new structs
> - wine/dlls/dmusic/dmusic_loader.c: load file
> - wine/dlls/dmusic/dmusic_preformance.c: minor fix
> - wine/dlls/dmusic/helper.c: new file with file loading functions
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the wine-devel