diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-07-14 19:34:11 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-07-14 19:34:11 +0800 |
commit | ec3e72be3293177e3e8d7a83ea7afc714a343f1e (patch) | |
tree | 6b8f0d4a5ccefe93fe3e2df799c64ae02cc30717 /indra/llwebrtc/llwebrtc.cpp | |
parent | 8336304c2e392bbf07a02bd1a32ebcb7279779cb (diff) |
Disable audio device sink related code on some
It's the custom part of LL's WebRTC fork, and I haven't got the
resources to build LL's fork for the platforms unsupported by them.
And for those less supported platforms, we're using binaries from
https://github.com/crow-misia/libwebrtc-bin
Diffstat (limited to 'indra/llwebrtc/llwebrtc.cpp')
-rw-r--r-- | indra/llwebrtc/llwebrtc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp index d5bd913315..6c501c0ca6 100644 --- a/indra/llwebrtc/llwebrtc.cpp +++ b/indra/llwebrtc/llwebrtc.cpp @@ -201,7 +201,9 @@ void LLWebRTCImpl::init() mTuningDeviceModule->SetPlayoutDevice(mPlayoutDevice); mTuningDeviceModule->SetRecordingDevice(mRecordingDevice); mTuningDeviceModule->EnableBuiltInAEC(false); +#if __x86_64__ && !__FreeBSD__ mTuningDeviceModule->SetAudioDeviceSink(this); +#endif mTuningDeviceModule->InitMicrophone(); mTuningDeviceModule->InitSpeaker(); mTuningDeviceModule->InitRecording(); @@ -554,6 +556,7 @@ void LLWebRTCImpl::updateDevices() } } +#if __x86_64__ && !__FreeBSD__ void LLWebRTCImpl::OnDevicesUpdated() { // reset these to a bad value so an update is forced @@ -562,6 +565,7 @@ void LLWebRTCImpl::OnDevicesUpdated() updateDevices(); } +#endif void LLWebRTCImpl::setTuningMode(bool enable) |