mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 06:47:19 +00:00
[client] spice: update PureSpice submodule and adjust for new API usage
This commit is contained in:
parent
2ed3c82de0
commit
d1a765c179
@ -1018,8 +1018,18 @@ static int lg_run(void)
|
|||||||
audioStop,
|
audioStop,
|
||||||
audioData);
|
audioData);
|
||||||
|
|
||||||
if (!purespice_connect(g_params.spiceHost, g_params.spicePort, "",
|
const struct PSConfig config =
|
||||||
g_params.useSpiceAudio))
|
{
|
||||||
|
.host = g_params.spiceHost,
|
||||||
|
.port = g_params.spicePort,
|
||||||
|
.password = "",
|
||||||
|
.playback = g_params.useSpiceAudio,
|
||||||
|
.log.info = debug_info,
|
||||||
|
.log.warn = debug_warn,
|
||||||
|
.log.error = debug_error
|
||||||
|
};
|
||||||
|
|
||||||
|
if (!purespice_connect(&config))
|
||||||
{
|
{
|
||||||
DEBUG_ERROR("Failed to connect to spice server");
|
DEBUG_ERROR("Failed to connect to spice server");
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit b7fbd3b816ba19dd3cb3eac3649ec97d9ff08f88
|
Subproject commit 28697ff3cbbff66d3fe2e7c42128fce49d313fbd
|
Loading…
Reference in New Issue
Block a user