public final class WebRtcAudioUtils
extends java.lang.Object
Constructor and Description |
---|
WebRtcAudioUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
getDefaultSampleRateHz() |
static int |
getManualConfigSampleRate() |
static java.lang.String |
getThreadInfo() |
static boolean |
hasPermission(android.content.Context context,
java.lang.String permission) |
static boolean |
isDefaultSampleRateOverridden() |
static boolean |
isUseManualConfigSampleRate() |
static boolean |
runningOnJellyBeanMR1OrHigher() |
static boolean |
runningOnJellyBeanMR2OrHigher() |
static boolean |
runningOnLollipopOrHigher() |
static boolean |
runningOnMarshmallowOrHigher() |
static boolean |
runningOnNougatOrHigher() |
static void |
setManualConfigSampleRate(boolean isManualConfig,
int sampleRate) |
public static void setManualConfigSampleRate(boolean isManualConfig, int sampleRate)
public static boolean isUseManualConfigSampleRate()
public static int getManualConfigSampleRate()
public static boolean isDefaultSampleRateOverridden()
public static int getDefaultSampleRateHz()
public static boolean runningOnJellyBeanMR1OrHigher()
public static boolean runningOnJellyBeanMR2OrHigher()
public static boolean runningOnLollipopOrHigher()
public static boolean runningOnMarshmallowOrHigher()
public static boolean runningOnNougatOrHigher()
public static java.lang.String getThreadInfo()
public static boolean hasPermission(android.content.Context context, java.lang.String permission)