| Index: content/renderer/pepper/pepper_platform_audio_output.h
|
| diff --git a/content/renderer/pepper/pepper_platform_audio_output.h b/content/renderer/pepper/pepper_platform_audio_output.h
|
| index ea8771d6f90adc7c814d24c7dd73e241b4ad4e8e..439dc2b7dc2efedc119e71eb8688f38e6e9fe316 100644
|
| --- a/content/renderer/pepper/pepper_platform_audio_output.h
|
| +++ b/content/renderer/pepper/pepper_platform_audio_output.h
|
| @@ -43,6 +43,10 @@ class PepperPlatformAudioOutput
|
| // is created or after the stream is closed.
|
| bool StopPlayback();
|
|
|
| + // Sets the volume. Returns false on error or if called before the stream
|
| + // is created or after the stream is closed.
|
| + bool SetVolume(double volume);
|
| +
|
| // Closes the stream. Make sure to call this before the object is
|
| // destructed.
|
| void ShutDown();
|
| @@ -74,6 +78,7 @@ class PepperPlatformAudioOutput
|
| void InitializeOnIOThread(const media::AudioParameters& params);
|
| void StartPlaybackOnIOThread();
|
| void StopPlaybackOnIOThread();
|
| + void SetVolumeOnIOThread(double volume);
|
| void ShutDownOnIOThread();
|
|
|
| // The client to notify when the stream is created. THIS MUST ONLY BE
|
|
|