1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## force_rdpdr.dpatch by Patrick Calhoun <phineas@ou.edu>
3
## (Original patch by Sameer Naik)
5
## All lines beginning with `## DP:' are a description of the patch.
6
## DP: Initializes the rdpdr channel whether or not any devices are being
7
## DP: redirected. As a result of this patch audio playback works when connected
8
## DP: to a vista (_w SP1) machine using rdesktop client.
11
diff -urNad rdesktop-1.6.0~/rdpdr.c rdesktop-1.6.0/rdpdr.c
12
--- rdesktop-1.6.0~/rdpdr.c 2008-02-14 05:37:17.000000000 -0600
13
+++ rdesktop-1.6.0/rdpdr.c 2009-08-19 14:50:35.000000000 -0500
18
- if (g_num_devices > 0)
21
- channel_register("rdpdr",
22
- CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_COMPRESS_RDP,
26
+ channel_register("rdpdr",
27
+ CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_COMPRESS_RDP,
30
return (rdpdr_channel != NULL);