Package org.webrtc.audio
Class WebRtcAudioManager
java.lang.Object
org.webrtc.audio.WebRtcAudioManager
This class contains static functions to query sample rate and input/output audio buffer sizes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static ObjectgetAudioManager(Object context) (package private) static intgetInputBufferSize(Object context, Object audioManager, int sampleRate, int numberOfInputChannels) (package private) static intgetOutputBufferSize(Object context, Object audioManager, int sampleRate, int numberOfOutputChannels) (package private) static intgetSampleRate(Object audioManager) Returns the native input/output sample rate for this device's output stream.
-
Field Details
-
TAG
- See Also:
-
DEFAULT_SAMPLE_RATE_HZ
private static final int DEFAULT_SAMPLE_RATE_HZ- See Also:
-
BITS_PER_SAMPLE
private static final int BITS_PER_SAMPLE- See Also:
-
DEFAULT_FRAME_PER_BUFFER
private static final int DEFAULT_FRAME_PER_BUFFER- See Also:
-
-
Constructor Details
-
WebRtcAudioManager
WebRtcAudioManager()
-
-
Method Details
-
getAudioManager
-
getOutputBufferSize
-
getInputBufferSize
-
getSampleRate
Returns the native input/output sample rate for this device's output stream.
-