Check for interval_ms.

This commit is contained in:
Michael Jumper 2013-07-17 10:53:51 -07:00
parent f43591068f
commit 45b8d29a4f
2 changed files with 6 additions and 0 deletions

View File

@ -244,6 +244,10 @@ AC_CHECK_LIB([freerdp-codec], [freerdp_image_convert],
[RDP_LIBS="$RDP_LIBS -lfreerdp-codec"],
[have_freerdp=no])
# FreeRDP-specific structure members
AC_CHECK_MEMBERS([rdpSvcPlugin.interval_ms],
[[#include <freerdp/utils/svc_plugin.h>]])
# FreeRDP-specific headers
AC_CHECK_HEADERS([freerdp/locale/keyboard.h])

View File

@ -92,8 +92,10 @@ void guac_rdpsnd_process_connect(rdpSvcPlugin* plugin) {
audio_stream* audio = (audio_stream*)
plugin->channel_entry_points.pExtendedData;
#ifdef RDPSVCPLUGIN_INTERVAL_MS
/* Update every 10 ms */
plugin->interval_ms = 10;
#endif
/* Log that sound has been loaded */
guac_client_log_info(audio->client, "guacsnd connected.");