| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "media/audio/test_audio_input_controller_factory.h" | 5 #include "media/audio/test_audio_input_controller_factory.h" |
| 6 #include "media/audio/audio_input_writer.h" | 6 #include "media/audio/audio_file_writer.h" |
| 7 #include "media/audio/audio_io.h" | 7 #include "media/audio/audio_io.h" |
| 8 | 8 |
| 9 namespace media { | 9 namespace media { |
| 10 | 10 |
| 11 TestAudioInputController::TestAudioInputController( | 11 TestAudioInputController::TestAudioInputController( |
| 12 TestAudioInputControllerFactory* factory, | 12 TestAudioInputControllerFactory* factory, |
| 13 AudioManager* audio_manager, | 13 AudioManager* audio_manager, |
| 14 const AudioParameters& audio_parameters, | 14 const AudioParameters& audio_parameters, |
| 15 EventHandler* event_handler, | 15 EventHandler* event_handler, |
| 16 SyncWriter* sync_writer, | 16 SyncWriter* sync_writer, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 return controller_; | 64 return controller_; |
| 65 } | 65 } |
| 66 | 66 |
| 67 void TestAudioInputControllerFactory::OnTestAudioInputControllerDestroyed( | 67 void TestAudioInputControllerFactory::OnTestAudioInputControllerDestroyed( |
| 68 TestAudioInputController* controller) { | 68 TestAudioInputController* controller) { |
| 69 DCHECK_EQ(controller_, controller); | 69 DCHECK_EQ(controller_, controller); |
| 70 controller_ = NULL; | 70 controller_ = NULL; |
| 71 } | 71 } |
| 72 | 72 |
| 73 } // namespace media | 73 } // namespace media |
| OLD | NEW |