<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Er, I've already put a <span class="annLine" title="42290 thebluegr > 27 days"><span class="hl_keyword">#if defined(ENABLE_SAGA2) safeguard which affects both shorten.h and .cpp. And the Shorten code is only used in the WIP SAGA2 engine, not the whole SAGA engine.<br><br>As for the sound code in SAGA: I've written it to load samples in memory, as it simplified the overall code in that part, as the SAGA engine has to deal with a variety of different encodings </span></span><span class="annLine" title="42290 thebluegr > 27 days"><span class="hl_keyword">(PCM, VOC, VOX, WAV, VOC, AIFF and Shorten)</span></span><span class="annLine" title="42290 thebluegr > 27 days"><span class="hl_keyword">. The whole sound effect/speech code in SAGA should be changed to play samples from disk directly, rather than loading them in memory, but I believe that this is not possible for VOC, WAV and AIFF files with the current common code.<br><br>Regards<br>Filippos<br><br></span></span>> From: max@quendi.de<br>> To: scummvm-devel@lists.sourceforge.net<br>> Date: Wed, 5 Aug 2009 21:34:15 +0200<br>> Subject: Re: [Scummvm-devel] Streaming sounds in Scumm games<br>> <br>> <br>> Am 05.08.2009 um 21:25 schrieb Max Horn:<br>> > BTW, all of the above also applies to the WAVE code and<br>> > loadWAVFromStream().<br>> <br>> ... and also for the AIFF code. Seems loadAIFFFromStream is used by <br>> SAGA and by SWORD1. While makeAIFFStream is never used ;).<br>> <br>> Interestingly, Sword1 implements its own WaveAudioStream resp. <br>> AiffAudioStream classes wrapping loadWAVFromStream resp. <br>> loadAIFFFromStream. Weird!<br>> <br>> Finally, there is loadShortenFromStream which is used by SAGA only; <br>> and makeShortenStream, which is not used anyway -> this code should <br>> have an #ifdef SAGA. And I guess AIFF should be #ifdef SAGA || SWORD1, <br>> and so should (yeah, the proper symbol names are different, but I <br>> think it's clear what I mean ;).<br>> <br>> Which reminds me: Is anybody actually taking care of adding those <br>> engine specific #ifdefs ? :)<br>> <br>> <br>> Cheers,<br>> Max<br>> <br>> ------------------------------------------------------------------------------<br>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day <br>> trial. Simplify your report design, integration and deployment - and focus on <br>> what you do best, core application coding. Discover what's new with <br>> Crystal Reports now. http://p.sf.net/sfu/bobj-july<br>> _______________________________________________<br>> Scummvm-devel mailing list<br>> Scummvm-devel@lists.sourceforge.net<br>> https://lists.sourceforge.net/lists/listinfo/scummvm-devel<br><br /><hr />Windows Live™: Keep your life in sync. <a href='http://windowslive.com/explore?ocid=PID23384::T:WLMTAGL:ON:WL:en-US:NF_BR_sync:082009' target='_new'>Check it out.</a></body>
</html>