GUAC-849: Set AudioPlayback flag if audio is enabled.

This commit is contained in:
Michael Jumper 2014-10-04 19:47:11 -07:00
parent 71674f8b7d
commit 5bcd60b3ba

View File

@ -107,6 +107,13 @@ void guac_rdp_push_settings(guac_rdp_settings* guac_settings, freerdp* rdp) {
rdp_settings->RemoteConsoleAudio = guac_settings->console_audio; rdp_settings->RemoteConsoleAudio = guac_settings->console_audio;
#endif #endif
/* Audio */
#ifdef LEGACY_RDPSETTINGS
rdp_settings->audio_playback = guac_settings->audio_enabled;
#else
rdp_settings->AudioPlayback = guac_settings->audio_enabled;
#endif
/* Security */ /* Security */
switch (guac_settings->security_mode) { switch (guac_settings->security_mode) {