[vlc-devel] Re: CVS Commit (jlj)

Derk-Jan Hartman d.hartman at student.utwente.nl
Sat Mar 15 01:40:16 CET 2003


On vrijdag, maa 14, 2003, at 02:08 Europe/Amsterdam, cvs at videolan.org 
wrote:
> Update of /var/cvs/videolan/vlc/modules/gui/macosx
> Modified Files:
> 	aout.m
>
> Log Message:
>   * ./modules/gui/macosx/aout.m: Added mono classification. Fixed 
> channels
>                                  issue in InitDevice. Should close 
> #490.
>

I mailed the person for verification.
It's not fixed yet. ;(

> Tried out your test version.  The error message is no longer 
> generated, however this time the USB audio produced by VLC is just 
> very loud white noise.  In fact, once this has started, the USB audio 
> continues to produce white noise from all sources, and the problem 
> only clears when I disconnect and reconnect the USB.  The test version 
> works fine with the Powerbook built-in audio.
>
> Tried again with VLC 0.5.1a, and this works fine on USB audio.
>
> The message log from VLC 0.5.3-cvs contains the following from the 
> point where the audio is switched to USB:
>
> main debug: unlocking module "mpgatofixed32"
> main debug: unlocking module "bandlimited_resampler"
> main debug: unlocking module "trivial_mixer"
> main debug: unlocking module "macosx"
> main debug: looking for audio output module
> main debug: probing 4 candidates
> macosx debug: system has [3] device(s)
> macosx debug: device [0] has name [Built-in audio controller]
> macosx debug: device [0] has [1] streams
> macosx debug: supported format: [44100][lpcm][30][4][1][4][2][16]
> macosx debug: device [1] has name [EDIROL UA-1D]
> macosx debug: device [1] has [1] streams
> macosx debug: supported format: [48000][lpcm][12][2][1][2][1][16]
> macosx debug: supported format: [48000][lpcm][12][4][1][4][2][16]
> macosx debug: device [2] has name [EDIROL UA-1D]
> macosx debug: device [2] has [0] streams
> macosx debug: getting device [1]
> macosx debug: setting format: [48000][lpcm][12][2][1][2][1][16]
> macosx debug: using format: [48000][lpcm][11][4][1][4][1][32]
> macosx debug: device buffer size: [2048]
> macosx debug: device buffer frame size set to: [512]
> main debug: using audio output module "macosx"
> main debug: output 'fl32' 48000 Hz Mono frame=1 samples/4 bytes
> main debug: mixer 'fl32' 48000 Hz Mono frame=1 samples/4 bytes
> main debug: no need for any filter
> main debug: looking for audio mixer module
> main debug: probing 3 candidates
> main debug: using audio mixer module "trivial_mixer"
> main debug: input 'mpg3' 48000 Hz Stereo frame=1152 samples/969 bytes
> main debug: filter(s) 'mpg3'->'fl32' 48000 Hz->48000 Hz Stereo->Mono
> main debug: looking for audio filter module
> main debug: probing 21 candidates
> main debug: looking for audio filter module
> main debug: probing 21 candidates
> main debug: using audio filter module "mpgatofixed32"
> main debug: looking for audio filter module
> main debug: probing 21 candidates
> main debug: using audio filter module "trivial_channel_mixer"
> main debug: found 2 filters for the whole conversion
> main debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Mono->Mono
> main debug: looking for audio filter module
> main debug: probing 21 candidates
> main debug: using audio filter module "bandlimited_resampler"
> main debug: found a filter for the whole conversion
> mpgatofixed32 warning: libmad error: bad main_data_begin pointer
> main debug: audio output is starving (202139), playing silence
>
> For comparison, here's the equivalent trace taken from VLC 0.5.1a, 
> playing sound normally when switching to USB audio:
>
> main debug: unlocking module "mpgatofixed32"
> main debug: unlocking module "ugly_resampler"
> main debug: unlocking module "trivial_mixer"
> main debug: unlocking module "macosx"
> main debug: looking for audio output module
> main debug: probing 4 candidates
> macosx debug: system has [3] device(s)
> macosx debug: device [0] has name [Built-in audio controller]
> macosx debug: device [0] has [1] streams
> macosx debug: supported format: [44100][lpcm][30][4][1][4][2][16]
> macosx debug: device [1] has name [EDIROL UA-1D]
> macosx debug: device [1] has [1] streams
> macosx debug: supported format: [48000][lpcm][12][2][1][2][1][16]
> macosx debug: supported format: [48000][lpcm][12][4][1][4][2][16]
> macosx debug: device [2] has name [EDIROL UA-1D]
> macosx debug: device [2] has [0] streams
> macosx debug: getting device [1]
> macosx debug: using format: [48000][lpcm][11][8][1][8][2][32]
> macosx debug: device buffer size: [4096]
> macosx debug: device buffer frame size set to: [512]
> main debug: using audio output module "macosx"
> main debug: output 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
> main debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
> main debug: no need for any filter
> main debug: looking for audio mixer module
> main debug: probing 3 candidates
> main debug: using audio mixer module "trivial_mixer"
> main debug: input 'mpg3' 48000 Hz Stereo frame=1152 samples/969 bytes
> main debug: filter(s) 'mpg3'->'fl32' 48000 Hz->48000 Hz Stereo->Stereo
> main debug: looking for audio filter module
> main debug: probing 18 candidates
> main debug: using audio filter module "mpgatofixed32"
> main debug: found a filter for the whole conversion
> main debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo
> main debug: looking for audio filter module
> main debug: probing 18 candidates
> main debug: using audio filter module "ugly_resampler"
> main debug: found a filter for the whole conversion
> mpgatofixed32 warning: libmad error: bad main_data_begin pointer
> main debug: audio output is starving (202217), playing silence

------------------------------------------------------------------------
Videolan - VLC media player
------------------------------------------------------------------------
Derk-Jan 'The DJ' Hartman
Co-Developer of the MacOS X port of vlc
Mail: mailto:thedj at users.sourceforge.net
WWW: http://home.student.utwente.nl/d.hartman/
Goto: http://www.videolan.org/vlc

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list