Inclusive language in //sdk/android.
Bug: webrtc:11680 Change-Id: I80f6b3c2ba21f49b0c05ebc27aecfc27a7be5836 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/178392 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31590}
This commit is contained in:
committed by
Commit Bot
parent
3cb0985983
commit
f9e5248f5d
@ -219,14 +219,14 @@ class WebRtcAudioEffects {
|
||||
// Returns true if an effect of the specified type is available. Functionally
|
||||
// equivalent to (NoiseSuppressor|AutomaticGainControl|...).isAvailable(), but
|
||||
// faster as it avoids the expensive OS call to enumerate effects.
|
||||
private static boolean isEffectTypeAvailable(UUID effectType, UUID blackListedUuid) {
|
||||
private static boolean isEffectTypeAvailable(UUID effectType, UUID blockListedUuid) {
|
||||
Descriptor[] effects = getAvailableEffects();
|
||||
if (effects == null) {
|
||||
return false;
|
||||
}
|
||||
for (Descriptor d : effects) {
|
||||
if (d.type.equals(effectType)) {
|
||||
return !d.uuid.equals(blackListedUuid);
|
||||
return !d.uuid.equals(blockListedUuid);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
@ -516,7 +516,7 @@ class AndroidAudioDeviceModule : public AudioDeviceModule {
|
||||
}
|
||||
|
||||
// Returns true if the device both supports built in AEC and the device
|
||||
// is not blacklisted.
|
||||
// is not blocklisted.
|
||||
// Currently, if OpenSL ES is used in both directions, this method will still
|
||||
// report the correct value and it has the correct effect. As an example:
|
||||
// a device supports built in AEC and this method returns true. Libjingle
|
||||
@ -544,7 +544,7 @@ class AndroidAudioDeviceModule : public AudioDeviceModule {
|
||||
}
|
||||
|
||||
// Returns true if the device both supports built in NS and the device
|
||||
// is not blacklisted.
|
||||
// is not blocklisted.
|
||||
// TODO(henrika): add implementation for OpenSL ES based audio as well.
|
||||
// In addition, see comments for BuiltInAECIsAvailable().
|
||||
bool BuiltInNSIsAvailable() const override {
|
||||
|
||||
Reference in New Issue
Block a user