mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-26 22:55:30 +00:00
protocol: add SPICE_{PLAYBACK,RECORD}_CAP_VOLUME caps
These changes the protocol the following way:
When the client announces it has SPICE_PLAYBACK_CAP_VOLUME, the server
can send PlaybackChannel.{volume,mute} messages to notify of volume
changes (respectively for RECORD).
If the client doesn't implement SPICE_PLAYBACK_CAP_VOLUME, the server can
handle the volume changes the way it prefers, for example, ignoring them or
applying volume effect on the server side etc..
This commit is contained in:
parent
ec027d44b6
commit
f4d8de5bdf
@ -103,10 +103,12 @@ typedef struct SPICE_ATTR_PACKED SpiceSubMessageList {
|
||||
|
||||
enum {
|
||||
SPICE_PLAYBACK_CAP_CELT_0_5_1,
|
||||
SPICE_PLAYBACK_CAP_VOLUME,
|
||||
};
|
||||
|
||||
enum {
|
||||
SPICE_RECORD_CAP_CELT_0_5_1,
|
||||
SPICE_RECORD_CAP_VOLUME,
|
||||
};
|
||||
|
||||
#include <spice/end-packed.h>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user