Which alsa do i need ?

Guillaumin Olivier oguillaumin at 9online.fr
Mon Aug 13 19:45:49 CEST 2001


Hello,

I've not the last alsa suite (modules, lib, ...) and i'm asking to myself if
this is the reason why i can't compile vlc.
Is alsa 0.5.10b compatible with vlc, (do i need to downlad 0.9b6 ?)

Any idea ? am i missing something ?

-----------------------
A piece of my problem :

aout_alsa.c: In function `aout_Probe':
aout_alsa.c:94: `SND_PCM_STREAM_PLAYBACK' undeclared (first use in this
function)
aout_alsa.c:94: (Each undeclared identifier is reported only once
aout_alsa.c:94: for each function it appears in.)
aout_alsa.c:94: warning: passing arg 2 of `snd_pcm_open' makes integer from
pointer without
 a cast
aout_alsa.c: In function `aout_Open':
aout_alsa.c:149: `SND_PCM_STREAM_PLAYBACK' undeclared (first use in this
function)
aout_alsa.c:149: warning: passing arg 2 of `snd_pcm_open' makes integer from
pointer withou
t a cast
aout_alsa.c: In function `aout_SetFormat':
aout_alsa.c:173: `snd_pcm_hw_params_t' undeclared (first use in this
 function) aout_alsa.c:173: `p_hw' undeclared (first use in this function)
aout_alsa.c:173: warning: statement with no effect
aout_alsa.c:174: `snd_pcm_sw_params_t' undeclared (first use in this
 function) aout_alsa.c:174: `p_sw' undeclared (first use in this function)
aout_alsa.c:174: warning: statement with no effect
aout_alsa.c:176: warning: implicit declaration of function
`snd_pcm_hw_params_alloca'
aout_alsa.c:177: warning: implicit declaration of function
`snd_pcm_sw_params_alloca'
aout_alsa.c:182: `SND_PCM_FORMAT_S16_LE' undeclared (first use in this
function)
aout_alsa.c:187: `SND_PCM_FORMAT_S16_BE' undeclared (first use in this
function)
aout_alsa.c:196: warning: implicit declaration of function
`snd_pcm_hw_params_any'
aout_alsa.c:203: warning: implicit declaration of function
`snd_pcm_hw_params_set_access'
aout_alsa.c:204: `SND_PCM_ACCESS_RW_INTERLEAVED' undeclared (first use in
this function)
aout_alsa.c:211: warning: implicit declaration of function
`snd_pcm_hw_params_set_format'
aout_alsa.c:220: warning: implicit declaration of function
`snd_pcm_hw_params_set_channels'
aout_alsa.c:228: warning: implicit declaration of function
`snd_pcm_hw_params_set_rate_near
'
aout_alsa.c:237: warning: implicit declaration of function
`snd_pcm_hw_params_set_buffer_ti
me_near'
aout_alsa.c:247: warning: implicit declaration of function
`snd_pcm_hw_params_set_period_ti
me_near'
aout_alsa.c:256: warning: implicit declaration of function
 `snd_pcm_hw_params' aout_alsa.c:263: warning: implicit declaration of
 function
`snd_pcm_hw_params_get_period_si
ze'
aout_alsa.c:264: warning: implicit declaration of function
`snd_pcm_hw_params_get_buffer_si
ze'
aout_alsa.c:266: warning: implicit declaration of function
`snd_pcm_sw_params_current'
aout_alsa.c:267: warning: implicit declaration of function
`snd_pcm_sw_params_set_sleep_min
'
aout_alsa.c:270: warning: implicit declaration of function
`snd_pcm_sw_params_set_avail_min
'
aout_alsa.c:280: warning: implicit declaration of function
 `snd_pcm_sw_params' aout_alsa.c:171: warning: `i_format' might be used
 uninitialized in this function
aout_alsa.c: In function `aout_HandleXrun':
aout_alsa.c:304: warning: implicit declaration of function `snd_pcm_reset'
aout_alsa.c:305: warning: implicit declaration of function `snd_pcm_prepare'
aout_alsa.c: In function `aout_GetBufInfo':
aout_alsa.c:324: `snd_pcm_status_t' undeclared (first use in this function)
aout_alsa.c:324: `p_status' undeclared (first use in this function)
aout_alsa.c:324: warning: statement with no effect
aout_alsa.c:325: parse error before `int'
aout_alsa.c:327: warning: implicit declaration of function
`snd_pcm_status_alloca'
aout_alsa.c:329: `i_alsa_get_status_returns' undeclared (first use in this
function)
aout_alsa.c:329: warning: implicit declaration of function `snd_pcm_status'
aout_alsa.c:339: warning: implicit declaration of function
`snd_pcm_status_get_state'
aout_alsa.c:341: `SND_PCM_STATE_XRUN' undeclared (first use in this function)
aout_alsa.c:345: `SND_PCM_STATE_OPEN' undeclared (first use in this function)
aout_alsa.c:346: `SND_PCM_STATE_PREPARED' undeclared (first use in this
function)
aout_alsa.c:347: `SND_PCM_STATE_RUNNING' undeclared (first use in this
function)
aout_alsa.c:342: warning: unreachable code at beginning of switch statement
aout_alsa.c:356: warning: implicit declaration of function
`snd_pcm_status_get_avail'
aout_alsa.c: In function `aout_Play':
aout_alsa.c:367: `snd_pcm_uframes_t' undeclared (first use in this function)
aout_alsa.c:367: parse error before `tot_frames'
aout_alsa.c:371: `tot_frames' undeclared (first use in this function)
aout_alsa.c:372: `frames_left' undeclared (first use in this function)
aout_alsa.c:376: `rv' undeclared (first use in this function)
aout_alsa.c:376: warning: implicit declaration of function `snd_pcm_writei'
make[1]: *** [aout_alsa.o] Erreur 1
make[1]: Quitte le répertoire `/home/olive/tmp/vlc-0.2.82/plugins/alsa'
make: *** [plugins/alsa.so] Erreur 2

-------------------------------------------------------




More information about the vlc mailing list