| Index: media/audio/pulse/pulse_output.h
|
| diff --git a/media/audio/pulse/pulse_output.h b/media/audio/pulse/pulse_output.h
|
| index 8e86b0461ecc3984b92d57df7032b9d7a765a42e..ee57f947bdebd4b67b2e2e4d5e7f4d876ae5c07c 100644
|
| --- a/media/audio/pulse/pulse_output.h
|
| +++ b/media/audio/pulse/pulse_output.h
|
| @@ -35,6 +35,8 @@ struct pa_stream;
|
| struct pa_threaded_mainloop;
|
|
|
| namespace media {
|
| +
|
| +class AudioDebugRecordingHelper;
|
| class AudioManagerBase;
|
|
|
| class PulseAudioOutputStream : public AudioOutputStream {
|
| @@ -52,6 +54,8 @@ class PulseAudioOutputStream : public AudioOutputStream {
|
| void Stop() override;
|
| void SetVolume(double volume) override;
|
| void GetVolume(double* volume) override;
|
| + void EnableDebugRecording(const base::FilePath& file_name) override;
|
| + void DisableDebugRecording() override;
|
|
|
| private:
|
| // Called by PulseAudio when |pa_stream_| change state. If an unexpected
|
| @@ -93,6 +97,9 @@ class PulseAudioOutputStream : public AudioOutputStream {
|
| // Container for retrieving data from AudioSourceCallback::OnMoreData().
|
| std::unique_ptr<AudioBus> audio_bus_;
|
|
|
| + // Used for audio debug recordings.
|
| + std::unique_ptr<AudioDebugRecordingHelper> debug_recording_helper_;
|
| +
|
| base::ThreadChecker thread_checker_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PulseAudioOutputStream);
|
|
|