Index: media/audio/audio_io.h |
diff --git a/media/audio/audio_io.h b/media/audio/audio_io.h |
index 6ab50aa952e88e5ca97c3d903d40da530d59e104..060f2f6ec5c446e76455b07a9672865025bcfa5c 100644 |
--- a/media/audio/audio_io.h |
+++ b/media/audio/audio_io.h |
@@ -7,6 +7,7 @@ |
#include <stdint.h> |
+#include "base/files/file_path.h" |
#include "base/time/time.h" |
#include "media/base/audio_bus.h" |
@@ -106,6 +107,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. A file type extension is added to |file_name|. |
+ 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; |