[vlc-commits] auhal: fixed compilation against the 10.6 SDK
Felix Paul Kühne
git at videolan.org
Fri Mar 18 21:34:49 CET 2011
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Mar 18 14:54:12 2011 +0100| [f43e2375ecddc06e7846f77c39d94abdd5fed6cb] | committer: Felix Paul Kühne
auhal: fixed compilation against the 10.6 SDK
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f43e2375ecddc06e7846f77c39d94abdd5fed6cb
---
modules/audio_output/auhal.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index bb45255..7fdab80 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -39,6 +39,9 @@
#include <CoreAudio/CoreAudio.h>
#include <AudioUnit/AudioUnit.h>
#include <AudioToolbox/AudioFormat.h>
+#include <AudioUnit/AudioComponent.h>
+
+#include <CoreServices/CoreServices.h>
#ifndef verify_noerr
#define verify_noerr(a) assert((a) == noErr)
@@ -282,7 +285,7 @@ static int OpenAnalog( aout_instance_t *p_aout )
OSStatus err = noErr;
UInt32 i_param_size = 0, i = 0;
int i_original;
- ComponentDescription desc;
+ ComponentDescription desc;
AudioStreamBasicDescription DeviceFormat;
AudioChannelLayout *layout;
AudioChannelLayout new_layout;
More information about the vlc-commits
mailing list