[Scummvm-devel] 44.1kHz support

Max Horn fingolfin at marblehorse.org
Sun Jul 28 06:45:04 CEST 2002


At 15:36 Uhr +0200 28.07.2002, Sven Köhler wrote:
>>Currently all sound output is 16 bit signed 22 kHz. Hence you can't 
>>play MP3's at 44 kHz. However, there is no fundamental issue that 
>>prevents us from outputing at 44kHz. This would have to be a 
>>switch, though, since some of our targets don't support 44kHz, I 
>>think.
>
>what's the problem with using a paramter for the output-freq.
>the only difference is, that everything is not upsampled to 22 but 
>to 44kHz. 44kHz could also be downsampled on the fly to support 
>platforms that onyl support 22kHz - although this doesn't make much 
>sence and should be just for compatibility.
>
>cubic interpolation shouldn't be the problem here.

Of course cubic interpolation, and nobody said it was. Basically, you 
just took what I said and rephrased it with more detail :-) So again: 
sure it is possible to output to 44.1kHz, we just don't do it, and 
somebody would have to write code that allows to switch between 
either output speed. Again, emphasis this time: *sombody would have 
to write code*. Feel free to be the one :-)


>BTW: i can offer a 6TAP or 8TAP filter that offers much better quality.

Well, if it's fast enough for all platforms,  and if you have the 
copyright for the code, and you agree to the license issues (we may 
have to change to a non-GPL special license in the near future), why 
not.


Cheers,

Max
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:max at quendi.de>
phone: (+49) 6151-494890




More information about the Scummvm-devel mailing list