[client] audio: update PureSpice and add support for volume control/mute

This commit is contained in:
Geoffrey McRae committed 2021-12-26 11:09:42 +11:00
1 parent e408ea51e2
commit 433a5420cb
3 files changed
+23 -3

No files matched your search

+6
View File
@@ -50,6 +50,12 @@ struct LG_AudioDevOps
/* called when SPICE reports the audio stream has stopped */
void (*stop)(void);
/* [optional] called to set the volume of the channels */
void (*volume)(int channels, const uint16_t volume[]);
/* [optional] called to set muting of the output */
void (*mute)(bool mute);
};
#define ASSERT_LG_AUDIODEV_VALID(x) \