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

@ -10,6 +10,8 @@
#define QUIRK_FORCE_S16_FORMAT (1ull<<0) /** forces S16 sample format in sink and source
* info */
#define QUIRK_REMOVE_CAPTURE_DONT_MOVE (1ull<<1) /** removes the capture stream DONT_MOVE flag */
#define QUIRK_BLOCK_SOURCE_VOLUME (1ull<<2) /** block volume changes to sources */
#define QUIRK_BLOCK_SINK_VOLUME (1ull<<3) /** block volume changes to sinks */
int client_update_quirks(struct client *client);