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 {
157157 int GetRecordAudioParameters (AudioParameters* params) const override ;
158158#endif // WEBRTC_IOS
159159
160-
161160 int32_t SetAudioDeviceSink (AudioDeviceSink* sink) const override ;
162161 int32_t GetPlayoutDevice () const override ;
163162 int32_t GetRecordingDevice () const override ;
164163
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-
172164 AudioDeviceBuffer* GetAudioDeviceBuffer () { return &audio_device_buffer_; }
173165
174166 int RestartPlayoutInternally () override { return -1 ; }
@@ -185,9 +177,6 @@ class AudioDeviceModuleImpl : public AudioDeviceModuleForTest {
185177 bool initialized_ = false ;
186178#if defined(WEBRTC_IOS)
187179 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_;
191180#endif
192181 AudioDeviceBuffer audio_device_buffer_;
193182 std::unique_ptr<AudioDeviceGeneric> audio_device_;
You can’t perform that action at this time.
0 commit comments