mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-13 02:48:23 +00:00
[client] audio: initial addition of PipeWire audio support via SPICE
This commit is contained in:
@@ -428,6 +428,13 @@ static struct Option options[] =
|
||||
.type = OPTION_TYPE_BOOL,
|
||||
.value.x_bool = true
|
||||
},
|
||||
{
|
||||
.module = "spice",
|
||||
.name = "audio",
|
||||
.description = "Enable SPICE audio support",
|
||||
.type = OPTION_TYPE_BOOL,
|
||||
.value.x_bool = true
|
||||
},
|
||||
{
|
||||
.module = "spice",
|
||||
.name = "scaleCursor",
|
||||
@@ -609,6 +616,7 @@ bool config_load(int argc, char * argv[])
|
||||
|
||||
g_params.useSpiceInput = option_get_bool("spice", "input" );
|
||||
g_params.useSpiceClipboard = option_get_bool("spice", "clipboard");
|
||||
g_params.useSpiceAudio = option_get_bool("spice", "audio" );
|
||||
|
||||
if (g_params.useSpiceClipboard)
|
||||
{
|
||||
|
Reference in New Issue
Block a user