Permalink
Browse files

[osx/aesink] - fix compile on older SDKs

  • Loading branch information...
1 parent c023186 commit 1d9b670f40299c5bed6730c652359b779102c610 @Memphiz Memphiz committed Feb 24, 2014
Showing with 9 additions and 0 deletions.
  1. +9 −0 xbmc/cores/AudioEngine/Sinks/osx/CoreAudioStream.cpp
@@ -24,6 +24,15 @@
#include "utils/log.h"
#include "utils/StdString.h"
+// defines taken from CoreAudio/AudioHardware.h from SDK 10.8
+#if !defined kAudioStreamTerminalTypeHDMI
+#define kAudioStreamTerminalTypeHDMI 'hdmi'
+#endif
+
+#if !defined kAudioStreamTerminalTypeDisplayPort
+#define kAudioStreamTerminalTypeDisplayPort 'dprt'
+#endif
+
CCoreAudioStream::CCoreAudioStream() :
m_StreamId (0 )
{

0 comments on commit 1d9b670

Please sign in to comment.