pulse-server: add 2 quirks to block sink/source updates

See #1517
This commit is contained in:
Wim Taymans 2023-06-15 11:45:43 +02:00
parent d04e430f23
commit a0a32af386
4 changed files with 17 additions and 2 deletions

View file

@ -17,6 +17,8 @@ static uint64_t parse_quirks(const char *str)
static const struct { const char *key; uint64_t value; } quirk_keys[] = {
{ "force-s16-info", QUIRK_FORCE_S16_FORMAT },
{ "remove-capture-dont-move", QUIRK_REMOVE_CAPTURE_DONT_MOVE },
{ "block-source-volume", QUIRK_BLOCK_SOURCE_VOLUME },
{ "block-sink-volume", QUIRK_BLOCK_SINK_VOLUME },
};
SPA_FOR_EACH_ELEMENT_VAR(quirk_keys, i) {
if (spa_streq(str, i->key))