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

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

Issue 9834098: fix crash in AUAudioOutputStream::Render() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
Index: media/audio/mac/audio_low_latency_output_mac.h
diff --git a/media/audio/mac/audio_low_latency_output_mac.h b/media/audio/mac/audio_low_latency_output_mac.h
index c912c18d43bb2d4260bcf85ff835be542ae49c16..bb9ce8d02114484f751016114615f2a3aa71807a 100644
--- a/media/audio/mac/audio_low_latency_output_mac.h
+++ b/media/audio/mac/audio_low_latency_output_mac.h
@@ -93,6 +93,9 @@ class AUAudioOutputStream : public AudioOutputStream {
// Fixed playout hardware latency in frames.
double hardware_latency_frames_;
+ // The flag used to stop the streaming.
+ bool stopped_;
+
DISALLOW_COPY_AND_ASSIGN(AUAudioOutputStream);
};
« no previous file with comments | « no previous file | media/audio/mac/audio_low_latency_output_mac.cc » ('j') | media/audio/mac/audio_low_latency_output_mac.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698