File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -157,18 +157,10 @@ class AudioDeviceModuleImpl : public AudioDeviceModuleForTest {
157
157
int GetRecordAudioParameters (AudioParameters* params) const override ;
158
158
#endif // WEBRTC_IOS
159
159
160
-
161
160
int32_t SetAudioDeviceSink (AudioDeviceSink* sink) const override ;
162
161
int32_t GetPlayoutDevice () const override ;
163
162
int32_t GetRecordingDevice () const override ;
164
163
165
- #if defined(WEBRTC_ANDROID)
166
- // Only use this acccessor for test purposes on Android.
167
- AudioManager* GetAndroidAudioManagerForTest () {
168
- return audio_manager_android_.get ();
169
- }
170
- #endif
171
-
172
164
AudioDeviceBuffer* GetAudioDeviceBuffer () { return &audio_device_buffer_; }
173
165
174
166
int RestartPlayoutInternally () override { return -1 ; }
@@ -185,9 +177,6 @@ class AudioDeviceModuleImpl : public AudioDeviceModuleForTest {
185
177
bool initialized_ = false ;
186
178
#if defined(WEBRTC_IOS)
187
179
bool bypass_voice_processing_;
188
- #elif defined(WEBRTC_ANDROID)
189
- // Should be declared first to ensure that it outlives other resources.
190
- std::unique_ptr<AudioManager> audio_manager_android_;
191
180
#endif
192
181
AudioDeviceBuffer audio_device_buffer_;
193
182
std::unique_ptr<AudioDeviceGeneric> audio_device_;
You can’t perform that action at this time.
0 commit comments