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 CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ |
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 const char pcm_file_name_utf8[webrtc::kAdmMaxFileNameSize]) override; | 96 const char pcm_file_name_utf8[webrtc::kAdmMaxFileNameSize]) override; |
97 int32_t StopRawInputFileRecording() override; | 97 int32_t StopRawInputFileRecording() override; |
98 int32_t SetRecordingSampleRate(const uint32_t samples_per_sec) override; | 98 int32_t SetRecordingSampleRate(const uint32_t samples_per_sec) override; |
99 int32_t SetPlayoutSampleRate(const uint32_t samples_per_sec) override; | 99 int32_t SetPlayoutSampleRate(const uint32_t samples_per_sec) override; |
100 int32_t ResetAudioDevice() override; | 100 int32_t ResetAudioDevice() override; |
101 int32_t SetLoudspeakerStatus(bool enable) override; | 101 int32_t SetLoudspeakerStatus(bool enable) override; |
102 int32_t GetLoudspeakerStatus(bool* enabled) const override; | 102 int32_t GetLoudspeakerStatus(bool* enabled) const override; |
103 int32_t SetAGC(bool enable) override; | 103 int32_t SetAGC(bool enable) override; |
104 bool AGC() const override; | 104 bool AGC() const override; |
105 bool BuiltInAECIsAvailable() const override; | 105 bool BuiltInAECIsAvailable() const override; |
| 106 bool BuiltInAGCIsAvailable() const override; |
| 107 bool BuiltInNSIsAvailable() const override; |
106 int32_t EnableBuiltInAEC(bool enable) override; | 108 int32_t EnableBuiltInAEC(bool enable) override; |
| 109 int32_t EnableBuiltInAGC(bool enable) override; |
| 110 int32_t EnableBuiltInNS(bool enable) override; |
| 111 #if defined(OS_IOS) |
| 112 int GetPlayoutAudioParameters(AudioParameters* params) const override; |
| 113 int GetRecordAudioParameters(AudioParameters* params) const override; |
| 114 #endif // OS_IOS |
107 | 115 |
108 protected: | 116 protected: |
109 ~WebRtcAudioDeviceNotImpl() override{}; | 117 ~WebRtcAudioDeviceNotImpl() override{}; |
110 | 118 |
111 private: | 119 private: |
112 base::TimeTicks last_process_time_; | 120 base::TimeTicks last_process_time_; |
113 DISALLOW_COPY_AND_ASSIGN(WebRtcAudioDeviceNotImpl); | 121 DISALLOW_COPY_AND_ASSIGN(WebRtcAudioDeviceNotImpl); |
114 }; | 122 }; |
115 | 123 |
116 } // namespace content | 124 } // namespace content |
117 | 125 |
118 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ | 126 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ |
OLD | NEW |