Modules | |
group | Audio decoding |
Audio related definitions and functions (reading). | |
group | Audio encoding |
Audio related definitions and functions (writing). | |
group | Multichannel support |
Enumerations | |
enum | lqt_sample_format_t { LQT_SAMPLE_UNDEFINED = 0, LQT_SAMPLE_INT8, LQT_SAMPLE_UINT8, LQT_SAMPLE_INT16, LQT_SAMPLE_INT32, LQT_SAMPLE_FLOAT, LQT_SAMPLE_DOUBLE } |
Sample format definitions for audio. More... | |
Functions | |
void | lqt_set_audio_parameter (quicktime_t *file, int track, const char *key, const void *value) |
Set a codec parameter for an audio track. | |
const char * | lqt_sample_format_to_string (lqt_sample_format_t sampleformat) |
Get a human readable description for a sample format. | |
lqt_sample_format_t | lqt_get_sample_format (quicktime_t *file, int track) |
Return the sample format used natively by the codec. |
|
Sample format definitions for audio. This defines the datatype for audio samples, which will be used by a particular codec. You'll need this, if you want to use lqt_decode_audio_raw or lqt_encode_audio_raw . Byte order of the data is always machine native. Endianess conversion is responsibility of the codec. |
|
Set a codec parameter for an audio track.
|
|
Get a human readable description for a sample format.
|
|
Return the sample format used natively by the codec.
*Note* Some codecs call |