Android: Fix compilation of moved aaudio

Setting rtc_enable_android_aaudio currently leads to build problems.
This CL fixes that.

Bug: webrtc:7452
Change-Id: I6460a97fbff795b8df5ef8a585c2880fc7d4331b
Reviewed-on: https://webrtc-review.googlesource.com/64402
Reviewed-by: Paulina Hensman <phensman@webrtc.org>
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22590}
This commit is contained in:
Magnus Jedvert
2018-03-23 11:11:45 +01:00
committed by Commit Bot
parent 883f470d60
commit 61fce40f7a
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ AudioManager::CreateAAudioAudioDeviceModule(
RTC_LOG(INFO) << __FUNCTION__;
return new rtc::RefCountedObject<android_adm::AudioDeviceTemplateAndroid<
android_adm::AAudioRecorder, android_adm::AAudioPlayer>>(
env, AudioDeviceModule::kAndroidAAudioAudio);
env, application_context, AudioDeviceModule::kAndroidAAudioAudio);
}
#endif