mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 819856, Re-enabled WebRTC voice engine code for Android, r=jesup
This commit is contained in:
parent
f618657284
commit
35b1d04204
@ -386,7 +386,10 @@ namespace webrtc
|
||||
|
||||
// Always excluded for Android builds
|
||||
#undef WEBRTC_CODEC_ISAC
|
||||
#undef WEBRTC_VOE_EXTERNAL_REC_AND_PLAYOUT
|
||||
// We need WEBRTC_VOE_EXTERNAL_REC_AND_PLAYOUT to make things work on Android.
|
||||
// Motivation for the commented-out undef below is unclear.
|
||||
//
|
||||
// #undef WEBRTC_VOE_EXTERNAL_REC_AND_PLAYOUT
|
||||
#undef WEBRTC_CONFERENCING
|
||||
#undef WEBRTC_TYPING_DETECTION
|
||||
|
||||
@ -406,10 +409,10 @@ namespace webrtc
|
||||
#define WEBRTC_VOICE_ENGINE_AGC_DEFAULT_MODE \
|
||||
GainControl::kAdaptiveDigital
|
||||
|
||||
#define ANDROID_NOT_SUPPORTED(stat) \
|
||||
stat.SetLastError(VE_FUNC_NOT_SUPPORTED, kTraceError, \
|
||||
"API call not supported"); \
|
||||
return -1;
|
||||
// This macro used to cause the calling function to set an error code and return.
|
||||
// However, not doing that seems to cause the unit tests to pass / behave reasonably,
|
||||
// so it's disabled for now; see bug 819856.
|
||||
#define ANDROID_NOT_SUPPORTED(stat)
|
||||
|
||||
#else // LINUX PC
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user