| Index: media/audio/audio_output_controller.h
|
| diff --git a/media/audio/audio_output_controller.h b/media/audio/audio_output_controller.h
|
| index f3d4b428425134b89f62f844ca889b9cd994f8a8..3e895a497264cf5ed6be4093942edfd1fe0040f7 100644
|
| --- a/media/audio/audio_output_controller.h
|
| +++ b/media/audio/audio_output_controller.h
|
| @@ -189,6 +189,12 @@ class MEDIA_EXPORT AudioOutputController
|
| // audio_power_monitor.h for usage. This may be called on any thread.
|
| std::pair<float, bool> ReadCurrentPowerAndClip();
|
|
|
| + // Enable debug recording of audio.
|
| + void EnableDebugRecording(const base::FilePath& file_name);
|
| +
|
| + // Disable debug recording of audio.
|
| + void DisableDebugRecording();
|
| +
|
| protected:
|
| // Internal state of the source.
|
| enum State {
|
| @@ -240,6 +246,12 @@ class MEDIA_EXPORT AudioOutputController
|
| void BroadcastDataToDuplicationTargets(std::unique_ptr<AudioBus> audio_bus,
|
| base::TimeTicks reference_time);
|
|
|
| + // Enable debug recording of audio.
|
| + void DoEnableDebugRecording(const base::FilePath& file_name);
|
| +
|
| + // Disable debug recording of audio.
|
| + void DoDisableDebugRecording();
|
| +
|
| AudioManager* const audio_manager_;
|
| const AudioParameters params_;
|
| EventHandler* const handler_;
|
|
|