java.lang.Object | |
↳ | org.opencdnunion.media.streamer.framework.AudioBufFormat |
Audio buf format.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public int | channels | ||||||||||
public long | nativeModule | ||||||||||
public int | sampleFormat | ||||||||||
public int | sampleRate |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AudioBufFormat(int sampleFormat, int sampleRate, int channels)
Create AudioBufFormat with given params.
| |||||||||||
AudioBufFormat(AudioBufFormat format) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(AudioBufFormat format) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create AudioBufFormat with given params.
sampleFormat | sample format, see AVConst |
---|---|
sampleRate | sample rate in Hz |
channels | channel number, 1 for mono, 2 for stereo |