[Scummvm-devel] [Scummvm-cvs-logs] SF.net SVN: scummvm:[43161] scummvm/branches/gsoc2009-draci/engines/draci
Max Horn
max at quendi.de
Mon Aug 10 00:42:33 CEST 2009
Am 10.08.2009 um 00:36 schrieb Filippos Karapetis:
[...]
> Note that with the code above, uncompressed sound is first loaded in
> a buffer, which is then freed by makeLinearInputStream when it
> finishes
> playing (because of FLAG_AUTOFREE). The compressed sound is played
> directly from disk. If you wish to load it in memory, you can read
> it in a buffer
> and load it in a MemoryReadStream. This discrepancy with compressed
> and uncompressed sound will hopefully be addressed with patch
> #2834001.
Actually, patch #2834001 won't affect that -- unstructured audio data
is not covered by that, and cannot be (as there is no way to discern
the length or format of the audio data).
Alas, if draci uses VOC or WAVE data, it could already now use
makeVOCStream / makeWAVStream.
Cheers,
Max
More information about the Scummvm-devel
mailing list