[mad-user] mad decoder sample rates
Rob Leslie
rob at mars.org
Fri Sep 7 10:14:19 PDT 2007
On Sep 7, 2007, at 9:57 AM, Steve Spano wrote:
> I want to be able to run 8Khz to 48KHz MP3s. Is there anything in
> the mad decoder that would prevent decoding MP3s within this range?
> We don’t have a sample issue with our hardware since we can set any
> sample rate we want.
MAD supports all MPEG audio sampling frequencies, namely
8000/11025/12000 (MPEG 2.5), 16000/22050/24000 (MPEG-2 LSF), and
32000/44100/48000 (MPEG-1) Hz.
Keep in mind the bitstream determines the sample rate you get from
MAD. If you want to output PCM at some other rate, you'll have to
resample it first.
--
Rob Leslie
rob at mars.org
More information about the mad-user
mailing list