| Index: media/audio/audio_io.h
|
| diff --git a/media/audio/audio_io.h b/media/audio/audio_io.h
|
| index e09b36eac2f88b61f8c530bcb4f296560cebd80f..4adab19d6650672cb845e4782137ab6a1751604b 100644
|
| --- a/media/audio/audio_io.h
|
| +++ b/media/audio/audio_io.h
|
| @@ -48,6 +48,10 @@
|
| // by |samples_per_packet| specified in AudioParameters when the stream is
|
| // created.
|
|
|
| +namespace base {
|
| +class FilePath;
|
| +}
|
| +
|
| namespace media {
|
|
|
| class MEDIA_EXPORT AudioOutputStream {
|
| @@ -104,6 +108,12 @@ class MEDIA_EXPORT AudioOutputStream {
|
| // Gets the relative volume, with range [0.0, 1.0] inclusive.
|
| virtual void GetVolume(double* volume) = 0;
|
|
|
| + // Enable debug recording.
|
| + virtual void EnableDebugRecording(const base::FilePath& file_name) {} // = 0;
|
| +
|
| + // Disable debug recording.
|
| + virtual void DisableDebugRecording() {} // = 0;
|
| +
|
| // Close the stream. This also generates AudioSourceCallback::OnClose().
|
| // After calling this method, the object should not be used anymore.
|
| virtual void Close() = 0;
|
|
|