# 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

PCM encoding, as defined by android.media.AudioFormat (e.g. android.media.AudioFormat.ENCODING_PCM_16BIT).

## Constructors

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

## Properties

audioFormat
Link copied to clipboard
val audioFormat: Int
audioSource
Link copied to clipboard
val audioSource: Int
channels
Link copied to clipboard
val channels: Int
sampleRate
Link copied to clipboard
val sampleRate: Int