X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faudio_output%2Falsa.c;h=d69ad62137dc5725e30edf9a2ab274ac3043198e;hb=bf4ae068b451c5c86bc2ca402b1e023caa107ea5;hp=fc0090f7946ef9db9b1aadadee25e5fe487cb2c3;hpb=cf4fe30a158f14e00961b7c65979b7b9eae1a4b9;p=vlc diff --git a/modules/audio_output/alsa.c b/modules/audio_output/alsa.c index fc0090f794..d69ad62137 100644 --- a/modules/audio_output/alsa.c +++ b/modules/audio_output/alsa.c @@ -33,10 +33,9 @@ #include /* ENOMEM */ #include /* strerror() */ #include /* calloc(), malloc(), free() */ -#include -#include +#include -#include "aout_internal.h" +#include /* ALSA part Note: we use the new API which is available since 0.9.0beta10a. */ @@ -358,7 +357,7 @@ static int Open( vlc_object_t *p_this ) /* Choose the linear PCM format (read the comment above about FPU and float32) */ - if( p_aout->p_libvlc->i_cpu & CPU_CAPABILITY_FPU ) + if( p_aout->p_libvlc_global->i_cpu & CPU_CAPABILITY_FPU ) { i_vlc_pcm_format = VLC_FOURCC('f','l','3','2'); i_snd_pcm_format = SND_PCM_FORMAT_FLOAT;