Allocate a new #GstAudioInfo that is also initialized with gst_audio_info_init().
the number of bytes for one frame, this is the size of one
sample * channels
the number of channels
the format info of the audio
additional audio flags
audio layout
the positions for each channel
the audio sample rate
Converts among various #GstFormat types. This function handles GST_FORMAT_BYTES, GST_FORMAT_TIME, and GST_FORMAT_DEFAULT. For raw audio, GST_FORMAT_DEFAULT corresponds to audio frames. This function can be used to handle pad queries of the type GST_QUERY_CONVERT.
#GstFormat of the src_val
value to convert
#GstFormat of the dest_val
Copy a GstAudioInfo structure.
Free a GstAudioInfo structure previously allocated with gst_audio_info_new() or gst_audio_info_copy().
Compares two #GstAudioInfo and returns whether they are equal or not
a #GstAudioInfo
Set the default info for the audio info of format
and rate
and channels
.
Note: This initializes info
first, no values are preserved.
the format
the samplerate
the number of channels
the channel positions
Initialize info
with default values.
Allocate a new #GstAudioInfo that is also initialized with gst_audio_info_init().
Information describing audio properties. This information can be filled in from GstCaps with gst_audio_info_from_caps().
Use the provided macros to access the info in this structure.