Optionalproperties: Partial<Converts among various Gst.Format 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.
Gst.Format of the src_val
value to convert
Gst.Format of the dest_val
TRUE if the conversion was successful.
Copy a GstAudioInfo structure.
a new GstAudio.AudioInfo. free with gst_audio_info_free.
Free a GstAudioInfo structure previously allocated with gst_audio_info_new()
or gst_audio_info_copy().
Compares two GstAudio.AudioInfo and returns whether they are equal or not
true if info and other are equal, else false.
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
Optionalposition: GstAudio.AudioChannelPosition[]the channel positions
Staticfrom_StaticinitInitialize info with default values.
StaticnewStaticnew_
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.