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;
|
||||
|
||||
Reference in New Issue
Block a user