public final class WebRtcAudioUtils
extends java.lang.Object
Constructor and Description |
---|
WebRtcAudioUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
deviceIsBlacklistedForOpenSLESUsage() |
static java.util.List<java.lang.String> |
getBlackListedModelsForAecUsage() |
static java.util.List<java.lang.String> |
getBlackListedModelsForNsUsage() |
static int |
getDefaultSampleRateHz() |
static java.lang.String |
getThreadInfo() |
static boolean |
isAcousticEchoCancelerSupported() |
static boolean |
isAutomaticGainControlSupported() |
static boolean |
isDefaultSampleRateOverridden() |
static boolean |
isNoiseSuppressorSupported() |
static boolean |
runningOnEmulator() |
static void |
setDefaultSampleRateHz(int sampleRateHz) |
static void |
setWebRtcBasedAcousticEchoCanceler(boolean enable) |
static void |
setWebRtcBasedAutomaticGainControl(boolean enable) |
static void |
setWebRtcBasedNoiseSuppressor(boolean enable) |
static boolean |
useWebRtcBasedAcousticEchoCanceler() |
static boolean |
useWebRtcBasedAutomaticGainControl() |
static boolean |
useWebRtcBasedNoiseSuppressor() |
public static void setWebRtcBasedAcousticEchoCanceler(boolean enable)
public static void setWebRtcBasedNoiseSuppressor(boolean enable)
public static void setWebRtcBasedAutomaticGainControl(boolean enable)
public static boolean useWebRtcBasedAcousticEchoCanceler()
public static boolean useWebRtcBasedNoiseSuppressor()
public static boolean useWebRtcBasedAutomaticGainControl()
public static boolean isAcousticEchoCancelerSupported()
public static boolean isNoiseSuppressorSupported()
public static boolean isAutomaticGainControlSupported()
public static void setDefaultSampleRateHz(int sampleRateHz)
public static boolean isDefaultSampleRateOverridden()
public static int getDefaultSampleRateHz()
public static java.util.List<java.lang.String> getBlackListedModelsForAecUsage()
public static java.util.List<java.lang.String> getBlackListedModelsForNsUsage()
public static java.lang.String getThreadInfo()
public static boolean runningOnEmulator()
public static boolean deviceIsBlacklistedForOpenSLESUsage()