[Scummvm-devel] Streaming sounds in Scumm games

Johannes Schickel lordhoto at scummvm.org
Thu Aug 6 10:40:46 CEST 2009


Travis Howell wrote:
> Lack of memory for large sounds has been a known issues in Nintendo DS 
> port for years now, have you forgotten the similar issue with 
> introduction in Simon the Sorcerer 1? which still uses a hack to work 
> around the problem.
>
> I actually opened a feature request in the past (See 
> https://sourceforge.net/tracker/?func=detail&aid=1832977&group_id=37116&atid=418823 
> ), so the issue wouldn't be forgotten.
>
> There has been no progress on the issue though, since streaming sound 
> data directly could have a negative effect on ports (DC and PS2) which 
> load files directly from the CD.
>
> So there seems to be a requirement to make sound streaming optional in 
> ports, keeping the current option of loading sound files/segments into 
> memory too.
>   

It should be trivial to do that via some #ifdef in the codec loading 
code. At least we should change the API for all codecs to return an 
AudioStream, which covers that, instead of letting the engines worry 
about such issues.

// Johannes




More information about the Scummvm-devel mailing list