summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
Diffstat (limited to 'media')
-rw-r--r--media/audio/mac/audio_output_mac.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/audio/mac/audio_output_mac.cc b/media/audio/mac/audio_output_mac.cc
index a51d35e..ecd0d1c 100644
--- a/media/audio/mac/audio_output_mac.cc
+++ b/media/audio/mac/audio_output_mac.cc
@@ -220,7 +220,7 @@ void PCMQueueOutAudioOutputStream::RenderCallback(void* p_this,
// Handle channel order for PCM 5.1 audio.
if (audio_stream->format_.mChannelsPerFrame == 6) {
- if (audio_stream->format_.mBitsPerChannel == 8)
+ if (audio_stream->format_.mBitsPerChannel == 8) {
SwizzleLayout(reinterpret_cast<uint8*>(buffer->mAudioData), filled);
} else if (audio_stream->format_.mBitsPerChannel == 16) {
SwizzleLayout(reinterpret_cast<int16*>(buffer->mAudioData), filled);