From 794e03640d8db298a65f2ba466eeca93c3491521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 11 Sep 2009 10:16:15 +0100 Subject: [PATCH] mixertrack: add READONLY and WRITEONLY flags Should really have been READABLE and WRITABLE, but those are hard to add whilst maintaining backwards compatibility. See #343615. API: GST_MIXER_TRACK_READONLY API: GST_MIXER_TRACK_WRITEONLY --- gst-libs/gst/interfaces/mixertrack.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gst-libs/gst/interfaces/mixertrack.h b/gst-libs/gst/interfaces/mixertrack.h index 618566461e..33296b9b60 100644 --- a/gst-libs/gst/interfaces/mixertrack.h +++ b/gst-libs/gst/interfaces/mixertrack.h @@ -69,6 +69,8 @@ G_BEGIN_DECLS * @GST_MIXER_TRACK_NO_MUTE: play track doesn't support mute. Since: 0.10.23 * @GST_MIXER_TRACK_WHITELIST: track should be displayed "by default" in apps. * Since: 0.10.23 + * @GST_MIXER_TRACK_READONLY: track is read-only. Since: 0.10.25 + * @GST_MIXER_TRACK_WRITEONLY: track is write-only. Since: 0.10.25 * * Mixer track flags. */ @@ -82,8 +84,12 @@ typedef enum { GST_MIXER_TRACK_NO_RECORD = (1<<6), GST_MIXER_TRACK_NO_MUTE = (1<<7), GST_MIXER_TRACK_WHITELIST = (1<<8), + GST_MIXER_TRACK_READONLY = (1<<9), + GST_MIXER_TRACK_WRITEONLY = (1<<10) } GstMixerTrackFlags; +/* FIXME 0.11: READONLY/WRITEONLY -> READABLE/WRITABLE etc. */ + #define GST_MIXER_TRACK_HAS_FLAG(channel, flag) \ ((channel)->flags & flag)