]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/alsa.c
Move string formating functions used in marq to the core.
[vlc] / modules / audio_output / alsa.c
index 7b45b4a2b077446956a0f3dc5c2cee2ffdf3691c..4f48fcbb6a83bd3b5e7c79904085a17f5be2a7cf 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+#include <vlc/vlc.h>
+
+#include <stdio.h>
 #include <errno.h>                                                 /* ENOMEM */
 #include <string.h>                                            /* strerror() */
 #include <stdlib.h>                            /* calloc(), malloc(), free() */
-
-#include <vlc/vlc.h>
-
 #include <vlc/aout.h>
 #include <vlc_interaction.h>
 
@@ -358,7 +358,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;