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

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

Issue 357004: SetVolume and GetVolume take one volume instead of separate left and right vo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | chrome/browser/renderer_host/audio_renderer_host.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.h
===================================================================
--- chrome/browser/renderer_host/audio_renderer_host.h (revision 30948)
+++ chrome/browser/renderer_host/audio_renderer_host.h (working copy)
@@ -191,7 +191,7 @@
// Sets the volume of the audio output stream. There's no IPC messages
// sent back to the renderer upon success and failure.
- void SetVolume(double left, double right);
+ void SetVolume(double volume);
// Gets the volume of the audio output stream.
// ViewMsg_NotifyAudioStreamVolume is sent back to renderer with volume
@@ -299,8 +299,7 @@
// ViewMsg_NotifyAudioStreamStateChanged with
// AudioOutputStream::AUDIO_STREAM_ERROR is sent back to renderer if the
// required IPCAudioSource is not found.
- void OnSetVolume(const IPC::Message& msg, int stream_id,
- double left_channel, double right_channel);
+ void OnSetVolume(const IPC::Message& msg, int stream_id, double volume);
// Gets the volume of the stream specified, delegates to corresponding
// IPCAudioSource::GetVolume(), see the method for more details.
« no previous file with comments | « no previous file | chrome/browser/renderer_host/audio_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698