| Modifier and Type | Method and Description |
|---|---|
static ChannelLayout |
ChannelLayout.byId(long id)
Get a
ChannelLayout that matches to the specified FFmpeg id. |
ChannelLayout |
AudioFormat.getChannelLayout()
Get the channel layout.
|
ChannelLayout[] |
Codec.getSupportedChannelLayouts()
Get all supported channel layouts by this
Codec. |
static ChannelLayout |
ChannelLayout.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelLayout[] |
ChannelLayout.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AudioFormat.setChannelLayout(ChannelLayout channelLayout)
Set the channel layout.
|
| Constructor and Description |
|---|
AudioFormat(SampleFormat sampleFormat,
ChannelLayout channelLayout,
int channels,
int sampleRate)
Creates a new
AudioFormat with specified values. |
Copyright © 2013. All Rights Reserved.