ports/135500: net/rdesktop sound does not work [PATCH]
lapo at lapo.it
Fri Jun 12 11:00:07 UTC 2009
>Synopsis: net/rdesktop sound does not work [PATCH]
>Arrival-Date: Fri Jun 12 11:00:06 UTC 2009
>Originator: Lapo Luchini
>Release: FreeBSD 6.4-STABLE amd64
System: FreeBSD motoko.lapo.it 6.4-STABLE FreeBSD 6.4-STABLE #9: Thu Jan 29 15:50:58 CET 2009 root at motoko.lapo.it:/usr/obj/usr/src/sys/MOTOKO amd64
Remote sounds over RDP doesn't seem to work.
When connecting to a Windows7 virtual machine, I try to receive sound with the following line:
rdesktop -r sound:local:libao
and indeed the Windows speaker tray-icon says "remote audio".
But when I try to play a sound (e.g. in control panes, sounds) the play button doesn't stay disabled for the sound duration (probably the play-sound syscall fails).
I found this patch at this address, with the name "Rdp Sound in Vista [PATCH]" (which might well be related to my case as well, since Win7 is after Vista; or maybe it also happens with remote WinXPs, I didn't check that).
Using this patch the sound can be heard, and the play button is disabled for the sound duration.
--- patch-rdpdr.c begins here ---
--- rdpdr.c.orig 2008-02-14 12:37:17.000000000 +0100
+++ rdpdr.c 2009-06-12 12:41:18.000000000 +0200
@@ -841,14 +841,11 @@ rdpdr_process(STREAM s)
- if (g_num_devices > 0)
- rdpdr_channel =
- CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_COMPRESS_RDP,
+ rdpdr_channel =
+ CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_COMPRESS_RDP,
return (rdpdr_channel != NULL);
--- patch-rdpdr.c ends here ---
More information about the freebsd-ports-bugs