[client] audio: allow building without any audio support

This commit is contained in:
Geoffrey McRae
2022-01-27 17:57:30 +11:00
parent a7db3d3a0f
commit a560a610d9
4 changed files with 26 additions and 4 deletions

View File

@@ -870,6 +870,7 @@ int spiceThread(void * arg)
.release = cb_spiceRelease,
.request = cb_spiceRequest
},
#if ENABLE_AUDIO
.playback =
{
.enable = audio_supportsPlayback(),
@@ -887,6 +888,7 @@ int spiceThread(void * arg)
.mute = audio_recordMute,
.stop = audio_recordStop
}
#endif
};
if (!purespice_connect(&config))