mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-24 01:40:20 -05:00
pulse-server: add quirk to block record and playback streams
Add aquirk to block any record or playback stream.
This commit is contained in:
parent
4b9db9492e
commit
ca488a5dcc
4 changed files with 18 additions and 0 deletions
|
|
@ -19,6 +19,8 @@ static uint64_t parse_quirks(const char *str)
|
|||
{ "remove-capture-dont-move", QUIRK_REMOVE_CAPTURE_DONT_MOVE },
|
||||
{ "block-source-volume", QUIRK_BLOCK_SOURCE_VOLUME },
|
||||
{ "block-sink-volume", QUIRK_BLOCK_SINK_VOLUME },
|
||||
{ "block-record-stream", QUIRK_BLOCK_RECORD_STREAM },
|
||||
{ "block-playback-stream", QUIRK_BLOCK_PLAYBACK_STREAM },
|
||||
};
|
||||
SPA_FOR_EACH_ELEMENT_VAR(quirk_keys, i) {
|
||||
if (spa_streq(str, i->key))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue