public static abstract class
AudioData.AudioDataFormat
Wraps a few constants describing the format of the incoming audio samples, namely number of channels and the sample rate. By default, num of channels is set to 1.
Nested Classes
class | AudioData.AudioDataFormat.Builder | Builder for AudioData.AudioDataFormat |
Public Constructors
Public Methods
static AudioData.AudioDataFormat.Builder |
builder()
|
static AudioData.AudioDataFormat |
create(AudioFormat format)
Creates a
ERROR(/AudioFormat) instance from Android AudioFormat class. |
abstract int | |
abstract float |
Inherited Methods
Public Constructors
public AudioDataFormat ()
Public Methods
public static AudioData.AudioDataFormat create (AudioFormat format)
Creates a ERROR(/AudioFormat)
instance from Android AudioFormat class.
Parameters
format |
---|