aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramet <amet.nospam@gmail.com>2013-06-19 00:59:18 +0400
committeramet <amet.nospam@gmail.com>2013-06-19 00:59:18 +0400
commit3fc41bf8b7e3fddf3ae6d33cf21a7eab3f799415 (patch)
treeb3a1d1f1f0661245df23ee836753557cb7be028c
parent6aa6247a0204963b536f9008dcc84c991198639b (diff)
[osx] fix app start on 10.9
-rw-r--r--xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioUnit.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioUnit.cpp b/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioUnit.cpp
index 32dbce65b3..25d54fcd26 100644
--- a/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioUnit.cpp
+++ b/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioUnit.cpp
@@ -300,18 +300,18 @@ void CCoreAudioUnit::GetFormatDesc(AEAudioFormat format,
case AE_FMT_TRUEHD:
case AE_FMT_EAC3:
streamDesc->mFormatFlags |= kAudioFormatFlagsNativeEndian;
- streamDesc->mFormatFlags |= kAudioFormatFlagIsSignedInteger;
+ streamDesc->mFormatFlags |= kAudioFormatFlagsAudioUnitCanonical;
break;
case AE_FMT_S16LE:
- streamDesc->mFormatFlags |= kAudioFormatFlagIsSignedInteger;
+ streamDesc->mFormatFlags |= kAudioFormatFlagsAudioUnitCanonical;
break;
case AE_FMT_S16BE:
streamDesc->mFormatFlags |= kAudioFormatFlagIsBigEndian;
- streamDesc->mFormatFlags |= kAudioFormatFlagIsSignedInteger;
+ streamDesc->mFormatFlags |= kAudioFormatFlagsAudioUnitCanonical;
break;
default:
streamDesc->mFormatFlags |= kAudioFormatFlagsNativeEndian;
- streamDesc->mFormatFlags |= kAudioFormatFlagIsSignedInteger;
+ streamDesc->mFormatFlags |= kAudioFormatFlagsAudioUnitCanonical;
break;
}
streamDesc->mChannelsPerFrame = format.m_channelLayout.Count(); // Number of interleaved audiochannels
@@ -334,7 +334,7 @@ void CCoreAudioUnit::GetFormatDesc(AEAudioFormat format,
case AE_FMT_FLOAT:
coreaudioDesc->mFormatFlags |= kAudioFormatFlagIsFloat;
default:
- coreaudioDesc->mFormatFlags |= kAudioFormatFlagIsSignedInteger;
+ coreaudioDesc->mFormatFlags |= kAudioFormatFlagsAudioUnitCanonical;
break;
}
coreaudioDesc->mBitsPerChannel = bps; //sizeof(Float32)<<3;