Info
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "gst_audio_info_get_type ()" ) ]
[ Compact ]
[ GIR ( name = "AudioInfo" ) ]
public class Info
Information describing audio properties.
This information can be filled in from GstCaps with audio_info_from_caps
.
Use the provided macros to access the info in this structure.
Content:
Creation methods:
Methods:
- public bool convert (Format src_fmt, int64 src_val, Format dest_fmt, out int64 dest_val)
Converts among various Format types.
- public Info copy ()
Copy a GstAudioInfo structure.
- public void free ()
Free a GstAudioInfo structure previously allocated with
Info or copy.
- public bool from_caps (Caps caps)
- public void init ()
- public bool is_equal (Info other)
Compares two Info and returns whether they
are equal or not
- public void set_format (Format format, int rate, int channels, ChannelPosition[] position)
Set the default info for the audio info of format
and
rate
and channels
.
- public Caps to_caps ()
Convert the values of this into a
Caps.
Fields: