SV8 samplerate support
"Menno" <[email protected]> Thu, 2 Oct 2003 10:24:05 +0200
| Newsgroups | gmane.comp.audio.mpc.devel |
|---|---|
| Message-ID | <001a01c388be$8c1c6220$aca35982@chnappo> |
Hello all, Ok let's get started :), I've been reading the SV8 bitstream description = =3D a bit and here is my first comment. As the non-native sample frequencies always get resampled to one of the native sample frequencies, wouldn't it be nicer to support every =3D possible samplerate? I mean that not 1 sr should be handled as that 1 sr, but a whole range =3D of samplerates should be handled as 1 sr. This way you only need a number =3D of supported/defined input samplerates but you'll still be able to support every single samplerate (as long as you have a resampler that supports =3D every single samplerate). Something like this (taken from AAC): if (92017 <=3D3D samplerate) return 96000; if (75132 <=3D3D samplerate) return 88200; if (55426 <=3D3D samplerate) return 64000; if (46009 <=3D3D samplerate) return 48000; if (37566 <=3D3D samplerate) return 44100; if (27713 <=3D3D samplerate) return 32000; if (23004 <=3D3D samplerate) return 24000; if (18783 <=3D3D samplerate) return 22050; if (13856 <=3D3D samplerate) return 16000; if (11502 <=3D3D samplerate) return 12000; if (9391 <=3D3D samplerate) return 11025; return 8000; Well, I know this is not really important :) but I can't really find anything else to somment on yet. Greetings, Menno http://mpc.corecodec.org