Package com.sinch.android.rtc
Class AudioPlayoutInfo
-
- All Implemented Interfaces:
public final class AudioPlayoutInfoDescribes the audio playout configuration in use when RemoteAudioFrameListener callbacks fire.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegersampleRateprivate final Integerchannelsprivate final IntegeraudioFormat
-
Constructor Summary
Constructors Constructor Description AudioPlayoutInfo(Integer sampleRate, Integer channels, Integer audioFormat)
-
Method Summary
Modifier and Type Method Description final IntegergetSampleRate()final IntegergetChannels()final IntegergetAudioFormat()-
-
Constructor Detail
-
AudioPlayoutInfo
AudioPlayoutInfo(Integer sampleRate, Integer channels, Integer audioFormat)
- Parameters:
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
-
getSampleRate
final Integer getSampleRate()
-
getChannels
final Integer getChannels()
-
getAudioFormat
final Integer getAudioFormat()
-
-
-
-