diff --git a/client/src/main.c b/client/src/main.c index e4cf5f41..69a757f7 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -873,6 +873,11 @@ int spiceThread(void * arg) .port = g_params.spicePort, .password = "", .ready = spiceReady, + .inputs = + { + .enable = g_params.useSpiceInput, + .autoConnect = true + }, .clipboard = { .enable = g_params.useSpiceClipboard, @@ -884,20 +889,22 @@ int spiceThread(void * arg) #if ENABLE_AUDIO .playback = { - .enable = audio_supportsPlayback(), - .start = audio_playbackStart, - .volume = audio_playbackVolume, - .mute = audio_playbackMute, - .stop = audio_playbackStop, - .data = audio_playbackData + .enable = audio_supportsPlayback(), + .autoConnect = true, + .start = audio_playbackStart, + .volume = audio_playbackVolume, + .mute = audio_playbackMute, + .stop = audio_playbackStop, + .data = audio_playbackData }, .record = { - .enable = audio_supportsRecord(), - .start = audio_recordStart, - .volume = audio_recordVolume, - .mute = audio_recordMute, - .stop = audio_recordStop + .enable = audio_supportsRecord(), + .autoConnect = true, + .start = audio_recordStart, + .volume = audio_recordVolume, + .mute = audio_recordMute, + .stop = audio_recordStop } #endif }; diff --git a/repos/PureSpice b/repos/PureSpice index 006e8d6f..44aafd25 160000 --- a/repos/PureSpice +++ b/repos/PureSpice @@ -1 +1 @@ -Subproject commit 006e8d6f2f99a12170f29d140e560d769f2f8766 +Subproject commit 44aafd252723ecc5117d6c4bb699f035adcc4f1a