AudioRecordInfo

data class AudioRecordInfo(val audioSource: Int, val sampleRate: Int, val channels: Int, val audioFormat: Int)

Describes the audio recording configuration in use when LocalAudioFrameListener callbacks fire.

Parameters

audioSource

The audio source in use, as defined by android.media.MediaRecorder.AudioSource.

sampleRate

Sample rate in Hz (e.g. 16000, 44100).

channels

Number of channels (1 = mono, 2 = stereo).

audioFormat

Constructors

Link copied to clipboard
constructor(audioSource: Int, sampleRate: Int, channels: Int, audioFormat: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard