Check for interval_ms.
This commit is contained in:
parent
f43591068f
commit
45b8d29a4f
@ -244,6 +244,10 @@ AC_CHECK_LIB([freerdp-codec], [freerdp_image_convert],
|
|||||||
[RDP_LIBS="$RDP_LIBS -lfreerdp-codec"],
|
[RDP_LIBS="$RDP_LIBS -lfreerdp-codec"],
|
||||||
[have_freerdp=no])
|
[have_freerdp=no])
|
||||||
|
|
||||||
|
# FreeRDP-specific structure members
|
||||||
|
AC_CHECK_MEMBERS([rdpSvcPlugin.interval_ms],
|
||||||
|
[[#include <freerdp/utils/svc_plugin.h>]])
|
||||||
|
|
||||||
# FreeRDP-specific headers
|
# FreeRDP-specific headers
|
||||||
AC_CHECK_HEADERS([freerdp/locale/keyboard.h])
|
AC_CHECK_HEADERS([freerdp/locale/keyboard.h])
|
||||||
|
|
||||||
|
@ -92,8 +92,10 @@ void guac_rdpsnd_process_connect(rdpSvcPlugin* plugin) {
|
|||||||
audio_stream* audio = (audio_stream*)
|
audio_stream* audio = (audio_stream*)
|
||||||
plugin->channel_entry_points.pExtendedData;
|
plugin->channel_entry_points.pExtendedData;
|
||||||
|
|
||||||
|
#ifdef RDPSVCPLUGIN_INTERVAL_MS
|
||||||
/* Update every 10 ms */
|
/* Update every 10 ms */
|
||||||
plugin->interval_ms = 10;
|
plugin->interval_ms = 10;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Log that sound has been loaded */
|
/* Log that sound has been loaded */
|
||||||
guac_client_log_info(audio->client, "guacsnd connected.");
|
guac_client_log_info(audio->client, "guacsnd connected.");
|
||||||
|
Loading…
Reference in New Issue
Block a user