GNOME Bugzilla – Bug 519916
[API] add mixer-changed and options-list-changed messages
Last modified: 2008-03-03 14:00:36 UTC
I would like to changed message types to the current mixer changed message API, namely: GST_MIXER_MESSAGE_OPTIONS_LIST_CHANGED GST_MIXER_MESSAGE_MIXER_CHANGED plus associated post and parse functions (no parse for mixer-changed since there's no additional data with that). This is useful for mixer implementations where the mixer options list can change over time, and/or where the entire mixer layout can change over time (e.g. in response to an option being changed). This is the case with OSS4, for example. Patch with unit test and docs attached.
Created attachment 106390 [details] [review] Add proposed API and docs and unit test bits
Committed after short discussion on IRC: 2008-03-03 Tim-Philipp Müller <tim at centricular dot net> * docs/libs/gst-plugins-base-libs-sections.txt: * gst-libs/gst/interfaces/mixer.c: (gst_mixer_option_changed), (gst_mixer_options_list_changed), (gst_mixer_mixer_changed), (gst_mixer_message_get_type), (gst_mixer_message_parse_option_changed), (gst_mixer_message_parse_options_list_changed): * gst-libs/gst/interfaces/mixer.h: (GstMixerType), (GST_MIXER_MESSAGE_OPTION_CHANGED), (GST_MIXER_MESSAGE_OPTIONS_LIST_CHANGED), (GST_MIXER_MESSAGE_MIXER_CHANGED): API: add gst_mixer_options_list_changed(), gst_mixer_mixer_changed() and gst_mixer_message_parse_options_list_changed(). Fixes #519916. 2008-03-03 Tim-Philipp Müller <tim at centricular dot net> * tests/check/libs/mixer.c: Add a few simple checks for the new message types.