java.lang.Object | |
↳ | android.media.AudioFormat |
The AudioFormat class is used to access a number of audio format and
channel configuration constants. They are for instance used
in
AudioTrack
and
AudioRecord
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
This constant was deprecated
in API level 5.
use CHANNEL_OUT_DEFAULT or CHANNEL_IN_DEFAULT instead
This constant was deprecated
in API level 5.
use CHANNEL_INVALID instead
This constant was deprecated
in API level 5.
use CHANNEL_OUT_MONO or CHANNEL_IN_MONO instead
This constant was deprecated
in API level 5.
use CHANNEL_OUT_STEREO or CHANNEL_IN_STEREO instead
Invalid audio channel mask
Default audio channel mask
Default audio data format
Invalid audio data format
Audio data format: PCM 16 bit per sample. Guaranteed to be supported by devices.
Audio data format: PCM 8 bit per sample. Not guaranteed to be supported by devices.