Index: media/audio/mac/audio_output_mac.cc |
diff --git a/media/audio/mac/audio_output_mac.cc b/media/audio/mac/audio_output_mac.cc |
index 33d999e533d4afe2626492770fc181241cc3ff5e..a4c1c9e940527e2e92162d929a43cda065501941 100644 |
--- a/media/audio/mac/audio_output_mac.cc |
+++ b/media/audio/mac/audio_output_mac.cc |
@@ -67,7 +67,9 @@ PCMQueueOutAudioOutputStream::PCMQueueOutAudioOutputStream( |
format_.mFramesPerPacket = 1; |
format_.mBytesPerPacket = (format_.mBitsPerChannel * params.channels) / 8; |
format_.mBytesPerFrame = format_.mBytesPerPacket; |
+ format_.mReserved = 0; |
+ memset(buffer_, 0, sizeof(buffer_)); |
memset(core_channel_orderings_, 0, sizeof(core_channel_orderings_)); |
memset(channel_remap_, 0, sizeof(channel_remap_)); |