| Index: content/browser/renderer_host/media/audio_renderer_host.h
|
| diff --git a/content/browser/renderer_host/media/audio_renderer_host.h b/content/browser/renderer_host/media/audio_renderer_host.h
|
| index 3056ade2be3b7393c978690c4128e6525e7fb411..546131772fbed751a723393ef4cfe9370c5894fe 100644
|
| --- a/content/browser/renderer_host/media/audio_renderer_host.h
|
| +++ b/content/browser/renderer_host/media/audio_renderer_host.h
|
| @@ -85,6 +85,9 @@ class CONTENT_EXPORT AudioRendererHost
|
| virtual void OnPaused(media::AudioOutputController* controller) OVERRIDE;
|
| virtual void OnError(media::AudioOutputController* controller,
|
| int error_code) OVERRIDE;
|
| + virtual void OnDeviceChange(media::AudioOutputController* controller,
|
| + int new_sample_rate,
|
| + int new_buffer_size) OVERRIDE;
|
|
|
| private:
|
| friend class AudioRendererHostTest;
|
| @@ -135,6 +138,9 @@ class CONTENT_EXPORT AudioRendererHost
|
| // Send a state change message to the renderer.
|
| void DoSendPlayingMessage(media::AudioOutputController* controller);
|
| void DoSendPausedMessage(media::AudioOutputController* controller);
|
| + void DoSendDeviceChangeMessage(media::AudioOutputController* controller,
|
| + int new_sample_rate,
|
| + int new_buffer_size);
|
|
|
| // Handle error coming from audio stream.
|
| void DoHandleError(media::AudioOutputController* controller, int error_code);
|
|
|