| Index: media/audio/audio_manager.h
|
| diff --git a/media/audio/audio_manager.h b/media/audio/audio_manager.h
|
| index c5a7cdd949b96f912b1ca50aca03da4439bae293..9edbf2117f622c465eba2ea7101145b9f74cf4c4 100644
|
| --- a/media/audio/audio_manager.h
|
| +++ b/media/audio/audio_manager.h
|
| @@ -15,6 +15,7 @@
|
| #include "base/strings/string16.h"
|
| #include "build/build_config.h"
|
| #include "media/audio/audio_device_description.h"
|
| +#include "media/audio/audio_file_writer.h"
|
| #include "media/audio/audio_logging.h"
|
| #include "media/base/audio_parameters.h"
|
|
|
| @@ -248,6 +249,20 @@ class MEDIA_EXPORT AudioManager {
|
| virtual std::unique_ptr<AudioLog> CreateAudioLog(
|
| AudioLogFactory::AudioComponent component) = 0;
|
|
|
| + // Initializes output debug recording. Can be called on any thread; will post
|
| + // to the audio thread if not called on it.
|
| + // TODO(grunell): Control input debug recording via these functions too.
|
| + virtual void InitializeOutputDebugRecording(
|
| + AudioFileWriter::CreateCallback create_audio_file_writer_callback) = 0;
|
| +
|
| + // Enable output debug recording. InitializeOutputDebugRecording() must be
|
| + // called before this function.
|
| + virtual void EnableOutputDebugRecording(
|
| + const base::FilePath& base_file_name) = 0;
|
| +
|
| + // Disable output debug recording.
|
| + virtual void DisableOutputDebugRecording() = 0;
|
| +
|
| // Gets the name of the audio manager (e.g., Windows, Mac, PulseAudio).
|
| virtual const char* GetName() = 0;
|
|
|
|
|