Index: src/options.c =================================================================== RCS file: /sources/grdesktop/grdesktop/src/options.c,v retrieving revision 1.90 diff -u -r1.90 options.c --- src/options.c 8 Mar 2005 10:06:37 -0000 1.90 +++ src/options.c 31 Jan 2006 02:59:20 -0000 @@ -204,6 +204,7 @@ void fillSoundOptions() { sound_options = g_list_append(sound_options, g_strdup(_("No sound output"))); sound_options = g_list_append(sound_options, g_strdup(_("Play on this host"))); + sound_options = g_list_append(sound_options, g_strdup(_("Play on remote host"))); } gint loadServers() { Index: src/run.c =================================================================== RCS file: /sources/grdesktop/grdesktop/src/run.c,v retrieving revision 1.40 diff -u -r1.40 run.c --- src/run.c 30 Mar 2004 13:17:53 -0000 1.40 +++ src/run.c 31 Jan 2006 02:59:20 -0000 @@ -59,8 +59,20 @@ if(SHASH("keymap")) cmd = g_strconcat(cmd, keymapCommand(), NULL); if(iSHASH("rdp_protocol") > 0) { /* disable, it's not supported by the RDP version */ - if(iSHASH("sound") > 0) - cmd = g_strconcat(cmd, g_strdup("-r sound "), NULL); + switch(iSHASH("sound")) + { + break; + case 1: + cmd = g_strconcat(cmd, g_strdup("-r sound:local "), NULL); + break; + case 2: + cmd = g_strconcat(cmd, g_strdup("-r sound:remote "), NULL); + break; + case 0 : + default: + cmd = g_strconcat(cmd, g_strdup("-r sound:off "), NULL); + break; + }; } if((iSHASH("runprog")) && (SHASH("program"))) cmd = g_strconcat(cmd, g_strdup_printf("-s '%s' ",