mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 19:05:37 +00:00
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
This commit is contained in:
parent
e4e8417eeb
commit
794e03640d
1 changed files with 6 additions and 0 deletions
|
@ -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_NO_MUTE: play track doesn't support mute. Since: 0.10.23
|
||||||
* @GST_MIXER_TRACK_WHITELIST: track should be displayed "by default" in apps.
|
* @GST_MIXER_TRACK_WHITELIST: track should be displayed "by default" in apps.
|
||||||
* Since: 0.10.23
|
* 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.
|
* Mixer track flags.
|
||||||
*/
|
*/
|
||||||
|
@ -82,8 +84,12 @@ typedef enum {
|
||||||
GST_MIXER_TRACK_NO_RECORD = (1<<6),
|
GST_MIXER_TRACK_NO_RECORD = (1<<6),
|
||||||
GST_MIXER_TRACK_NO_MUTE = (1<<7),
|
GST_MIXER_TRACK_NO_MUTE = (1<<7),
|
||||||
GST_MIXER_TRACK_WHITELIST = (1<<8),
|
GST_MIXER_TRACK_WHITELIST = (1<<8),
|
||||||
|
GST_MIXER_TRACK_READONLY = (1<<9),
|
||||||
|
GST_MIXER_TRACK_WRITEONLY = (1<<10)
|
||||||
} GstMixerTrackFlags;
|
} GstMixerTrackFlags;
|
||||||
|
|
||||||
|
/* FIXME 0.11: READONLY/WRITEONLY -> READABLE/WRITABLE etc. */
|
||||||
|
|
||||||
#define GST_MIXER_TRACK_HAS_FLAG(channel, flag) \
|
#define GST_MIXER_TRACK_HAS_FLAG(channel, flag) \
|
||||||
((channel)->flags & flag)
|
((channel)->flags & flag)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue