Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[IOS] - fix build after 6095130

  • Loading branch information...
commit f12ee05612ebef348d0db7e081c0f553b0ed66ac 1 parent 2205284
@Memphiz Memphiz authored
2  addons/skin.touched
@@ -1 +1 @@
-Subproject commit 932a728725889c4220bc4ac42f18b082e4361f86
+Subproject commit 1d03746646111f97e28b807a290bd762c7db547c
@Memphiz Owner
Memphiz added a note

Booaahhh ich krieg zuviel!

@MartijnKaijser Owner

ggrrrrrrrr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
View
4 xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAE.cpp
@@ -275,10 +275,12 @@ bool CCoreAudioAE::OpenCoreAudio(unsigned int sampleRate, bool forceRaw,
streamLock.Leave();
}
+#if defined(TARGET_DARWIN_OSX)
if (m_Initialized)
{
m_currentAudioDevice = CCoreAudioHardware::FindAudioDevice(m_outputDevice);
}
+#endif
return m_Initialized;
}
@@ -451,6 +453,7 @@ IAEStream* CCoreAudioAE::MakeStream(enum AEDataFormat dataFormat,
m_streams.push_back(stream);
streamLock.Leave();
+#if defined(TARGET_DARWIN_OSX)
// check if default device has changed - in that case we need to reinit
// TODO hook into osx callbacks for getting notifiaction on device
// changes and then queue a change of the default device
@@ -462,6 +465,7 @@ IAEStream* CCoreAudioAE::MakeStream(enum AEDataFormat dataFormat,
if (currentId != m_currentAudioDevice)
defaultDeviceChanged = true;
}
+#endif
if ((options & AESTREAM_PAUSED) == 0)
Stop();
View
1  xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAE.h
@@ -33,6 +33,7 @@
#if defined(TARGET_DARWIN_IOS)
#include "CoreAudioAEHALIOS.h"
+#define AudioDeviceID unsigned
#else
#include "CoreAudioAEHALOSX.h"
#endif
Please sign in to comment.
Something went wrong with that request. Please try again.