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_impl.h | |
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_impl.h')
-rw-r--r-- | indra/llwebrtc/llwebrtc_impl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llwebrtc/llwebrtc_impl.h b/indra/llwebrtc/llwebrtc_impl.h index 6672f8ce90..719c8b7eeb 100644 --- a/indra/llwebrtc/llwebrtc_impl.h +++ b/indra/llwebrtc/llwebrtc_impl.h @@ -136,7 +136,10 @@ class LLCustomProcessor : public webrtc::CustomProcessing // Primary singleton implementation for interfacing // with the native webrtc library. -class LLWebRTCImpl : public LLWebRTCDeviceInterface, public webrtc::AudioDeviceSink +class LLWebRTCImpl : public LLWebRTCDeviceInterface +#if __x86_64__ && !__FreeBSD__ + , public webrtc::AudioDeviceSink +#endif { public: LLWebRTCImpl(); @@ -168,7 +171,9 @@ class LLWebRTCImpl : public LLWebRTCDeviceInterface, public webrtc::AudioDeviceS // // AudioDeviceSink // +#if __x86_64__ && !__FreeBSD__ void OnDevicesUpdated() override; +#endif // // Helpers |