FileDocCategorySizeDatePackage
AudioFormat.javaAPI DocAndroid 1.5 API1864Wed May 06 22:42:00 BST 2009android.media

AudioFormat

public class AudioFormat extends Object
The AudioFormat class is used to access a number of audio format and channel configuration constants. They are for instance used in __link AudioTrack} and __link AudioRecord}.

Fields Summary
public static final int
ENCODING_INVALID
Invalid audio data format
public static final int
ENCODING_DEFAULT
Default audio data format
public static final int
ENCODING_PCM_16BIT
Audio data format: PCM 16 bit per sample
public static final int
ENCODING_PCM_8BIT
Audio data format: PCM 8 bit per sample
public static final int
CHANNEL_CONFIGURATION_INVALID
Invalid audio channel configuration
public static final int
CHANNEL_CONFIGURATION_DEFAULT
Default audio channel configuration
public static final int
CHANNEL_CONFIGURATION_MONO
Mono audio configuration
public static final int
CHANNEL_CONFIGURATION_STEREO
Stereo (2 channel) audio configuration
Constructors Summary
Methods Summary