Skip to content

Commit 7dd6bd8

Browse files
kanatsanthoshvai
authored andcommitted
remove AudioManager references (#33)
1 parent 82aeb81 commit 7dd6bd8

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

modules/audio_device/audio_device_impl.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff 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_;

0 commit comments

Comments
 (0)