Package com.sinch.android.rtc
Class AudioRecordInfo
-
- All Implemented Interfaces:
public final class AudioRecordInfoDescribes the audio recording configuration in use when LocalAudioFrameListener callbacks fire.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegeraudioSourceprivate final IntegersampleRateprivate final Integerchannelsprivate final IntegeraudioFormat
-
Constructor Summary
Constructors Constructor Description AudioRecordInfo(Integer audioSource, Integer sampleRate, Integer channels, Integer audioFormat)
-
Method Summary
Modifier and Type Method Description final IntegergetAudioSource()final IntegergetSampleRate()final IntegergetChannels()final IntegergetAudioFormat()-
-
Constructor Detail
-
AudioRecordInfo
AudioRecordInfo(Integer audioSource, Integer sampleRate, Integer channels, Integer audioFormat)
- Parameters:
audioSource- The audio source in use, as defined by android.media.MediaRecorder.AudioSource.sampleRate- Sample rate in Hz (e.g.channels- Number of channels (1 = mono, 2 = stereo).audioFormat- PCM encoding, as defined by android.media.AudioFormat (e.g.
-
-
Method Detail
-
getAudioSource
final Integer getAudioSource()
-
getSampleRate
final Integer getSampleRate()
-
getChannels
final Integer getChannels()
-
getAudioFormat
final Integer getAudioFormat()
-
-
-
-