[vlc] Audio filters: bug?

Forest Bond forest at alittletooquiet.net
Tue Mar 4 21:36:41 CET 2008


Hi,

I'm dealing with a lot of audio-related problems.  They manifest as either a lot
of audio output starving issues or upsampling due to apparent clock drift,
depending on the specifics of the configuration.

I thought I was dealing with an ALSA bug, but I notice this:

--------------------------------------------------------------------------------
[00000349] main private debug: looking for audio filter module: 24 candidates
[00000349] main private debug: using audio filter module "float32tos16"
[00000347] main audio output debug: found a filter for the whole conversion
[00000347] main audio output debug: looking for audio mixer module: 3 candidates
[00000347] main audio output debug: using audio mixer module "float32_mixer"
[00000347] main audio output debug: input 'mpga' 48000 Hz Stereo frame=1152 samples/1161 bytes
[00000347] main audio output debug: filter(s) 'mpga'->'fl32' 48000 Hz->48000 Hz Stereo->Stereo
[00000373] main private debug: looking for audio filter module: 24 candidates
[00000373] main private debug: using audio filter module "mpgatofixed32"
[00000347] main audio output debug: found a filter for the whole conversion
[00000347] main audio output debug: filter(s) 'fl32'->'fl32' 52800 Hz->44100 Hz Stereo->Stereo
[00000374] main private debug: looking for audio filter module: 24 candidates
[00000374] main private debug: using audio filter module "bandlimited_resampler"
[00000347] main audio output debug: found a filter for the whole conversion
--------------------------------------------------------------------------------

What's with the 52800 Hz?  It looks like we're doing:

mpga 48000 Hz Stereo -> fl32 48000 Hz
fl32 52800 Hz -> fl32 44100 Hz

Should that be this?:

mpga 48000 Hz Stereo -> fl32 48000 Hz
fl32 48000 Hz -> fl32 44100 Hz

What am I missing here?  If this is a bug, it would explain a lot about why I
can't get ALSA to fix things :)  That signal chain would be impossible to keep
sane.

Thanks,
Forest
-- 
Forest Bond
http://www.alittletooquiet.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20080304/a7150fe4/attachment.sig>


More information about the vlc mailing list