Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: media/audio/mac/audio_output_mac.h

Issue 194112: Fixing audio in mac (Closed)
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/audio/mac/audio_output_mac.cc » ('j') | media/audio/mac/audio_output_mac.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/mac/audio_output_mac.h
diff --git a/media/audio/mac/audio_output_mac.h b/media/audio/mac/audio_output_mac.h
index 340e1ebd10ea8be013f45e6d7a0cb47c75467e41..07119584ec3240e0941f65771726f86d66b54bc9 100644
--- a/media/audio/mac/audio_output_mac.h
+++ b/media/audio/mac/audio_output_mac.h
@@ -56,6 +56,10 @@ class PCMQueueOutAudioOutputStream : public AudioOutputStream {
AudioSourceCallback* source_;
// Our creator, the audio manager needs to be notified when we close.
AudioManagerMac* manager_;
+ // Number of bytes for make a silence buffer.
+ int silence_bytes_;
+ // Number of bytes yet to be played in audio buffer.
+ int pending_bytes_;
DISALLOW_COPY_AND_ASSIGN(PCMQueueOutAudioOutputStream);
};
« no previous file with comments | « no previous file | media/audio/mac/audio_output_mac.cc » ('j') | media/audio/mac/audio_output_mac.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698