Top | ![]() |
![]() |
![]() |
![]() |
gstaudiomixerutilsgstaudiomixerutils — utility functions to find available audio mixers from the plugin registry |
gboolean (*GstAudioMixerFilterFunc) (GstMixer *mixer
,gpointer user_data
);
Function that will be called by gst_audio_default_registry_mixer_filter()
so the caller can decide which mixer elements should be kept and returned.
When the mixer element is passed to the callback function, it is opened
and in READY state. If you decide to keep the element, you need to set it
back to NULL state yourself (unless you want to keep it opened of course).
GList * gst_audio_default_registry_mixer_filter (GstAudioMixerFilterFunc filter_func
,gboolean first
,gpointer user_data
);
Utility function to find audio mixer elements.
Will traverse the default plugin registry in order of plugin rank and find usable audio mixer elements. The caller may optionally fine-tune the selection by specifying a filter function.
a GList of audio mixer GstElements. You must free each
element in the list by setting it to NULL state and calling
gst_object_unref()
. After that the list itself should be freed
using g_list_free()
.
Since 0.10.2