| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef MEDIA_AUDIO_FAKE_AUDIO_MANAGER_H_ | 5 #ifndef MEDIA_AUDIO_FAKE_AUDIO_MANAGER_H_ |
| 6 #define MEDIA_AUDIO_FAKE_AUDIO_MANAGER_H_ | 6 #define MEDIA_AUDIO_FAKE_AUDIO_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "media/audio/audio_manager_base.h" | 10 #include "media/audio/audio_manager_base.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 const AudioParameters& params) OVERRIDE; | 26 const AudioParameters& params) OVERRIDE; |
| 27 virtual AudioOutputStream* MakeLowLatencyOutputStream( | 27 virtual AudioOutputStream* MakeLowLatencyOutputStream( |
| 28 const AudioParameters& params, | 28 const AudioParameters& params, |
| 29 const std::string& device_id) OVERRIDE; | 29 const std::string& device_id) OVERRIDE; |
| 30 virtual AudioInputStream* MakeLinearInputStream(const AudioParameters& params, | 30 virtual AudioInputStream* MakeLinearInputStream(const AudioParameters& params, |
| 31 const std::string& device_id) | 31 const std::string& device_id) |
| 32 OVERRIDE; | 32 OVERRIDE; |
| 33 virtual AudioInputStream* MakeLowLatencyInputStream( | 33 virtual AudioInputStream* MakeLowLatencyInputStream( |
| 34 const AudioParameters& params, | 34 const AudioParameters& params, |
| 35 const std::string& device_id) OVERRIDE; | 35 const std::string& device_id) OVERRIDE; |
| 36 virtual AudioParameters GetInputStreamParameters( | |
| 37 const std::string& device_id) OVERRIDE; | |
| 38 | 36 |
| 39 protected: | 37 protected: |
| 40 virtual ~FakeAudioManager(); | 38 virtual ~FakeAudioManager(); |
| 41 | 39 |
| 42 virtual AudioParameters GetPreferredOutputStreamParameters( | 40 virtual AudioParameters GetPreferredOutputStreamParameters( |
| 43 const std::string& output_device_id, | 41 const std::string& output_device_id, |
| 44 const AudioParameters& input_params) OVERRIDE; | 42 const AudioParameters& input_params) OVERRIDE; |
| 45 | 43 |
| 44 virtual AudioParameters GetPreferredInputStreamParameters( |
| 45 const std::string& input_device_id, |
| 46 const AudioParameters& input_params) OVERRIDE; |
| 47 |
| 48 |
| 46 private: | 49 private: |
| 47 DISALLOW_COPY_AND_ASSIGN(FakeAudioManager); | 50 DISALLOW_COPY_AND_ASSIGN(FakeAudioManager); |
| 48 }; | 51 }; |
| 49 | 52 |
| 50 } // namespace media | 53 } // namespace media |
| 51 | 54 |
| 52 #endif // MEDIA_AUDIO_FAKE_AUDIO_MANAGER_H_ | 55 #endif // MEDIA_AUDIO_FAKE_AUDIO_MANAGER_H_ |
| OLD | NEW |