mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40: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_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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue