public final class WavUtil extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DATA_FOURCC
Four character code for "data".
|
static int |
FMT_FOURCC
Four character code for "fmt ".
|
static int |
RIFF_FOURCC
Four character code for "RIFF".
|
static int |
WAVE_FOURCC
Four character code for "WAVE".
|
Modifier and Type | Method and Description |
---|---|
static int |
getEncodingForType(int type,
int bitsPerSample)
Returns the PCM encoding for the given WAVE
type value. |
static int |
getTypeForEncoding(int encoding)
Returns the WAVE type value for the given
encoding . |
public static final int RIFF_FOURCC
public static final int WAVE_FOURCC
public static final int FMT_FOURCC
public static final int DATA_FOURCC
public static int getTypeForEncoding(@C.PcmEncoding int encoding)
encoding
.@C.PcmEncoding public static int getEncodingForType(int type, int bitsPerSample)
type
value.