| Index: media/audio/audio_output_controller.cc
|
| diff --git a/media/audio/audio_output_controller.cc b/media/audio/audio_output_controller.cc
|
| index 55ce9502ef7bddac261ae35ff364ecca3473b35c..ae72bdda8f5e52e39c2c879e5d68634decb7fed7 100644
|
| --- a/media/audio/audio_output_controller.cc
|
| +++ b/media/audio/audio_output_controller.cc
|
| @@ -300,6 +300,8 @@ int AudioOutputController::OnMoreData(base::TimeDelta delay,
|
| AudioBus* dest) {
|
| TRACE_EVENT0("audio", "AudioOutputController::OnMoreData");
|
|
|
| + // NOTREACHED();
|
| +
|
| // Indicate that we haven't wedged (at least not indefinitely, WedgeCheck()
|
| // may have already fired if OnMoreData() took an abnormal amount of time).
|
| // Since this thread is the only writer of |on_more_io_data_called_| once the
|
| @@ -501,6 +503,23 @@ std::pair<float, bool> AudioOutputController::ReadCurrentPowerAndClip() {
|
| return power_monitor_.ReadCurrentPowerAndClip();
|
| }
|
|
|
| +void AudioOutputController::EnableDebugRecording(
|
| + const base::FilePath& file_name) {
|
| + CHECK_EQ(AudioManager::Get(), audio_manager_);
|
| + message_loop_->PostTask(
|
| + FROM_HERE, base::Bind(&AudioOutputController::DoEnableDebugRecording,
|
| + this, file_name));
|
| +}
|
| +
|
| +void AudioOutputController::DoEnableDebugRecording(
|
| + const base::FilePath& file_name) {
|
| + stream_->EnableDebugRecording(file_name);
|
| +}
|
| +
|
| +void AudioOutputController::DisableDebugRecording() {}
|
| +
|
| +void AudioOutputController::DoDisableDebugRecording() {}
|
| +
|
| void AudioOutputController::WedgeCheck() {
|
| DCHECK(message_loop_->BelongsToCurrentThread());
|
|
|
|
|