[vlc-commits] auhal: remove Carbon dependency

Felix Paul Kühne git at videolan.org
Wed Jan 23 00:51:39 CET 2013


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jan 23 00:46:21 2013 +0100| [5a75cb4e0640f1105f0bc4f0d9b5778370d10e41] | committer: Felix Paul Kühne

auhal: remove Carbon dependency

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

 configure.ac                 |    2 +-
 modules/audio_output/auhal.c |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 9192c10..7e67d1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3469,7 +3469,7 @@ if test "x${enable_macosx_audio}" != "xno" &&
 then
   AC_CHECK_HEADERS(CoreAudio/CoreAudio.h,
     [ VLC_ADD_PLUGIN([auhal])
-      VLC_ADD_LIBS([auhal],[-Wl,-framework,CoreAudio,-framework,AudioUnit,-framework,AudioToolbox,-framework,Carbon])
+      VLC_ADD_LIBS([auhal],[-Wl,-framework,CoreAudio,-framework,AudioUnit,-framework,AudioToolbox])
     ], [ AC_MSG_ERROR([cannot find CoreAudio headers]) ])
 fi
 
diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index 6625069..8728346 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -38,7 +38,6 @@
 #import <AudioUnit/AudioUnit.h>             // AudioUnit
 #import <CoreAudio/CoreAudio.h>             // AudioDeviceID
 #import <AudioToolbox/AudioFormat.h>        // AudioFormatGetProperty
-#import <CoreServices/CoreServices.h>
 
 #import "TPCircularBuffer.h"
 



More information about the vlc-commits mailing list