[vlc-commits] AuHal: try to fix compilation on SDK > 10.5

Jean-Baptiste Kempf git at videolan.org
Wed Aug 17 12:47:37 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 17 12:47:12 2011 +0200| [7eba73e824c6735e66198facfe49274c95fdb73e] | committer: Jean-Baptiste Kempf

AuHal: try to fix compilation on SDK > 10.5

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7eba73e824c6735e66198facfe49274c95fdb73e
---

 modules/audio_output/auhal.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index 57e532c..9855ae4 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -32,10 +32,11 @@
 
 #include <vlc_common.h>
 #include <vlc_plugin.h>
-#include <vlc_dialog.h> 		  // dialog_Fatal
-#include <vlc_aout.h>   	          // aout_*
+#include <vlc_dialog.h>                   // dialog_Fatal
+#include <vlc_aout.h>                     // aout_*
 
-#include <AudioUnit/AudioUnit.h> 	  // AudioDeviceID
+#include <AudioUnit/AudioUnit.h>          // AudioUnit
+#include <CoreAudio/AudioHardware.h>      // AudioDeviceID
 #include <AudioToolbox/AudioFormat.h>     // AudioFormatGetProperty
 
 #ifndef verify_noerr
@@ -224,7 +225,7 @@ static int Open( vlc_object_t * p_this )
     {
         /* Be tolerant, only give a warning here */
         msg_Warn( p_aout, "could not check whether device [0x%x] is alive: %4.4s",
-			  (unsigned int)p_sys->i_selected_dev, (char *)&err );
+                           (unsigned int)p_sys->i_selected_dev, (char *)&err );
         b_alive = false;
     }
 



More information about the vlc-commits mailing list