| Package | Description |
|---|---|
| io.humble.video |
The Humble Video library for decoding and encoding audio and pictures (i.e.
|
| io.humble.video.javaxsound |
A collection of classes that can map
MediaAudio into
javax.sound.sampled methods. |
| Modifier and Type | Method and Description |
|---|---|
AudioChannel.Layout |
Coder.getChannelLayout()
Get the channel layout.
|
AudioChannel.Layout |
FilterLink.getChannelLayout() |
AudioChannel.Layout |
MediaAudio.getChannelLayout()
What is the channel layout of the audio in this buffer?
|
static AudioChannel.Layout |
AudioChannel.getDefaultLayout(int numChannels)
Return default channel layout for a given number of channels.
|
AudioChannel.Layout |
MediaAudioResampler.getInputLayout()
Get input channel layout.
|
AudioChannel.Layout |
MediaAudioResampler.getOutputLayout()
Get output channel layout.
|
AudioChannel.Layout |
Codec.getSupportedAudioChannelLayout(int index)
Get the supported audio channel layout at this index.
The value returned is a bit flag representing the different types of audio layout this codec can support. |
static AudioChannel.Layout |
AudioChannel.Layout.swigToEnum(int swigValue) |
static AudioChannel.Layout |
AudioChannel.Layout.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AudioChannel.Layout[] |
AudioChannel.Layout.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<AudioChannel.Layout> |
Codec.getSupportedAudioChannelLayouts()
Returns a list of supported audio channel layouts this codec can encode
audio in.
|
| Modifier and Type | Method and Description |
|---|---|
FilterAudioSink |
FilterGraph.addAudioSink(String name,
int sampleRate,
AudioChannel.Layout channelLayout,
AudioFormat.Type format)
Add a FilterAudioSink.
|
FilterAudioSource |
FilterGraph.addAudioSource(String name,
int sampleRate,
AudioChannel.Layout channelLayout,
AudioFormat.Type format,
Rational timeBase)
Add a FilterAudioSource.
|
static AudioChannel.Type |
AudioChannel.getChannelFromLayoutAtIndex(AudioChannel.Layout layout,
int index)
Get the channel with the given index in channel_layout.
|
static int |
AudioChannel.getIndexOfChannelInLayout(AudioChannel.Layout layout,
AudioChannel.Type channel)
Get the index of a channel in channel_layout.
|
static String |
AudioChannel.getLayoutName(AudioChannel.Layout layout)
Get the value and name of a standard channel layout.
index index in an internal list, starting at 0 layout channel layout mask name name of the layout |
static int |
AudioChannel.getNumChannelsInLayout(AudioChannel.Layout layout)
Return the number of channels in the channel layout.
|
static MediaAudioResampler |
MediaAudioResampler.make(AudioChannel.Layout outLayout,
int outSampleRate,
AudioFormat.Type outFormat,
AudioChannel.Layout inLayout,
int inSampleRate,
AudioFormat.Type inFormat)
Create a new MediaAudioResampler.
|
static MediaAudio |
MediaAudio.make(Buffer buffer,
int numSamples,
int sampleRate,
int channels,
AudioChannel.Layout channelLayout,
AudioFormat.Type format)
Create a MediaAudio using the given buffer.
Note: that the Buffer.getBufferSize() constraints the max number of samples we can place in here, and HumbleVideo needs to reserve some of the buffer for, um, stuff (assume at least 64 bytes). |
static MediaAudio |
MediaAudio.make(int numSamples,
int sampleRate,
int channels,
AudioChannel.Layout channelLayout,
AudioFormat.Type format)
Create a MediaAudio and the underlying data.
|
void |
Coder.setChannelLayout(AudioChannel.Layout layout)
Set the channel layout
|
| Modifier and Type | Method and Description |
|---|---|
AudioChannel.Layout |
MediaAudioConverter.getMediaLayout()
The Humble
AudioChannel.Layout this converter converts form. |
| Modifier and Type | Method and Description |
|---|---|
static MediaAudioConverter |
MediaAudioConverterFactory.createConverter(String description,
int sampleRate,
AudioChannel.Layout layout,
AudioFormat.Type format)
Create a converter.
|
Copyright © 2018 Humble Software. All rights reserved.