Builder

public final class Builder

A builder of AudioCaptureOptions.

Functions

Link copied to clipboard
Returns a new AudioCaptureOptions instance built from the current state of this builder.
Link copied to clipboard
Sets the channel layout of the captured audio stream.
Link copied to clipboard
public AudioCaptureOptions.Builder framesPerBuffer(int framesPerBuffer)
Sets the number of frames per captured buffer.
Link copied to clipboard
Mutes the audio playback while the capture session is active.
Link copied to clipboard
public AudioCaptureOptions.Builder sampleRate(int sampleRate)
Sets the sample rate in hertz.