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

Unified Diff: chrome/browser/renderer_host/audio_renderer_host.cc

Issue 193095: Pause for <video> should have immediate effect on audio (Closed)
Patch Set: style 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/win/waveout_output_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/audio_renderer_host.cc
diff --git a/chrome/browser/renderer_host/audio_renderer_host.cc b/chrome/browser/renderer_host/audio_renderer_host.cc
index c66e0b13e145badd63e7a19ad7112f7dcecfb499..4b60da86773a8fcd80ed67f20f6768b43a9934b8 100644
--- a/chrome/browser/renderer_host/audio_renderer_host.cc
+++ b/chrome/browser/renderer_host/audio_renderer_host.cc
@@ -151,7 +151,7 @@ void AudioRendererHost::IPCAudioSource::Play() {
stream_->Start(this);
// Update the state and notify renderer.
- state_ = kPaused;
+ state_ = kPlaying;
ViewMsg_AudioStreamState state;
state.state = ViewMsg_AudioStreamState::kPlaying;
« no previous file with comments | « no previous file | media/audio/win/waveout_output_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698