#199: Samplerate resampling conversion broken
------------------------+---------------------------------------------------
Reporter: toots | Owner: admin
Type: Bugs | Status: new
Priority: 1 | Milestone: NEXT RELEASE
Component: Liquidsoap | Version: 0.3.8+svn
Keywords: | Mac: 1
Linux: 1 | Netbsd: 1
Other: 1 | Freebsd: 1
------------------------+---------------------------------------------------
I can hear ticks when decoding mp3 file at 22100 Hz, using samplerate as
the decoding interface.
I noticed that the returned length does not look good to me:
{{{input length: 576, output length: 1151, ratio: 2.000000}}}
I couldn't find an easy quick and dirty fix, but noticed there might be an
issue in the output buffer length. This line:
{{{ int outbuflen = (int)(inbuflen * ratio) + 64;}}}
seems to indicate that there already was an issue in this.
The only workaround for now is to set:
{{{LIQ_DISABLE_SAMPLERATE=1}}}
which forces internal samplerate conversion, and the sound is fine.
Sam, do you have an idea on this issue ??
--
Ticket URL: <http://savonet.rastageeks.org/ticket/199>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac