[Live-devel] support for MP3 with low sampling frequency
M.Buffo at lutech.it
M.Buffo at lutech.it
Wed Mar 23 12:34:31 PST 2005
Hi,
i need to stream mp3 data with low sampling frequency (i.e. 8000). The
lowest sampling frequency currently supported is 11025. I have fixed it in
my workspace and i wonder if you could include those trivial changes in the
next release. Here are the diffs:
$ diff MP3Internals.cpp /usr/local/lib/live.2005.03.11/liveMedia
41,42c41,42
< static long live_freqs[]
< = { 44100, 48000, 32000, 22050, 24000, 16000 , 11025, 12000, 8000, 0 };
---
> static long live_freqs[7]
> = { 44100, 48000, 32000, 22050, 24000, 16000 , 11025 };
350c350
< samplingFreqIndex = ((hdr>>10)&0x3) + 6;
---
> samplingFreqIndex = 6;
Cheers,
Massimo
More information about the live-devel
mailing list