Michael Gernoth
8129a2d373
use libsamplerate for resampling when available
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1277 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-01 13:57:34 +00:00
Michael Gernoth
8f8ea57234
only resample when there is need
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1276 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-01 12:26:01 +00:00
Michael Gernoth
b7b4327927
move simple resample algorithm from rdpsnd_libao.c to rdpsnd_dsp.c to
...
provide a base for a better resample-algorithm
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1275 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-01 12:16:50 +00:00
Michael Gernoth
80ab25c473
do not lose the first mixer event in oss
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1274 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-01 11:08:09 +00:00
Michael Gernoth
bc3c75e4dc
make rdpsnd_auto_open and rdpsnd_register_drivers static
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1273 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-01 11:00:03 +00:00
Michael Gernoth
5594a05572
let 'make proto' generate correct prototypes for rdpsnd
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1272 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-01 10:56:39 +00:00
Michael Gernoth
6e6853dff8
move sound-driver selection code in rdpsnd_init
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1271 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-21 19:00:11 +00:00
Michael Gernoth
162bc366b3
handle missing audio-drivers better
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1270 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-18 21:42:50 +00:00
Michael Gernoth
1ee09f6688
replace constants with their define
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1269 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-18 10:20:02 +00:00
Michael Gernoth
d8d445f63d
fall back to software volume control when the mixer ioctl fails on the
...
dsp fd
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1268 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-18 10:17:24 +00:00
Michael Gernoth
c66055ab22
do not segfault when no libao default-driver is defined
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1267 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-18 09:34:34 +00:00
Michael Gernoth
7522bc310c
indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1266 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-18 09:28:42 +00:00
Michael Gernoth
4d7ffa4faa
make it possible to select libao output driver
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1265 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-18 09:27:58 +00:00
Michael Gernoth
c4b90c2072
Recover missing 4 bytes in audio-stream thanks to a hint in an old
...
email from Robert Sanders <esquimaux73@mailblocks.com>:
I found a trick that seems to solve this. Basically, I copy the last
4 bytes of the RDPSND_WRITE command that precedes the sample data.
It's not being used by anything else. I can't tell whether this is
some trick to "pre-load" the sample buffer, or some error in
rdesktop's interpretation of the RDP sound protocol.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1264 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 20:06:37 +00:00
Michael Gernoth
f80ca3e60e
change probe-order for OSS and SUN around
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1263 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 19:08:14 +00:00
Michael Gernoth
4c83a35b48
call rdpsnd_dsp_process from a better place
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1262 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 18:08:51 +00:00
Michael Gernoth
45cc3f12f4
use correct types in rdpsnd_dsp_softvol
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1261 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 15:49:14 +00:00
Michael Gernoth
306a72ffe9
use software volume for ALSA
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1260 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 15:33:29 +00:00
Michael Gernoth
7ef82f75c7
unify audio-byteswapping as a dsp-function
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1259 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 15:25:10 +00:00
Michael Gernoth
8d590a7ba3
softvol only needs one buffer
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1258 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 15:08:48 +00:00
Michael Gernoth
76459e4005
add software volume control (currently only for libao but will be
...
used for alsa, too)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1257 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 14:41:16 +00:00
Michael Gernoth
66e7247196
ChangeLog updated
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1256 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 12:25:10 +00:00
Michael Gernoth
99afd6a9f1
fix SunCC errors/warnings and configure-variable-usage (LIBS/LDFLAGS)
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1255 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 11:42:22 +00:00
Michael Gernoth
07b5b9e41c
allow multiple sound-drivers to be compiled in simultaneously and
...
make the runtime selectable
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1254 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 11:04:50 +00:00
Michael Gernoth
ec4862937f
unify queue-handling in rdpsnd.c (remove private copies from all
...
drivers)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1253 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 10:32:18 +00:00
Michael Gernoth
f4dce045b5
add alsa-driver
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1252 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-17 10:00:55 +00:00
Peter Åstrand
becc2bda9e
Bumped up version to 1.5.0
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1250 423420c4-83ab-492f-b58f-81f9feb106b5
2006-09-13 12:10:14 +00:00
Peter Åstrand
07fa6f71a9
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1249 423420c4-83ab-492f-b58f-81f9feb106b5
2006-08-07 11:46:28 +00:00
Peter Åstrand
4fd604b015
Fixed a minor seamless bug in DRAW_ELLIPSE: Was copying from
...
backingstore before updated.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1248 423420c4-83ab-492f-b58f-81f9feb106b5
2006-08-07 11:45:06 +00:00
Michael Gernoth
3a7eeda4e8
Fix high cpu-usage in OSS-driver
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1246 423420c4-83ab-492f-b58f-81f9feb106b5
2006-07-12 09:57:05 +00:00
Michael Gernoth
5f86a9b86a
set screen-number in XGetVisualInfo (patch 1417414 by Jeremy Smith)
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1245 423420c4-83ab-492f-b58f-81f9feb106b5
2006-07-11 17:22:24 +00:00
Michael Gernoth
98a51ac1ab
declare local variables static and remove g_prefix.
...
this removes a clash with another global variable...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1244 423420c4-83ab-492f-b58f-81f9feb106b5
2006-07-09 23:41:07 +00:00
Matt Chapman
64dbd08a49
Clarify ChangeLog entry (requested by Ilya)
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1243 423420c4-83ab-492f-b58f-81f9feb106b5
2006-07-06 10:40:16 +00:00
Peter Åstrand
cc1ce68417
Tweaked the SeamlessRDP documentation: Telling where to download seamlessrdpshell
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1242 423420c4-83ab-492f-b58f-81f9feb106b5
2006-07-05 12:36:29 +00:00
Peter Åstrand
c2d3430c02
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1241 423420c4-83ab-492f-b58f-81f9feb106b5
2006-07-05 12:07:48 +00:00
Peter Åstrand
40d0ed7c2d
Updated 1.5.0 ChangeLog: Large file support, default color depth and
...
Vista support.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1240 423420c4-83ab-492f-b58f-81f9feb106b5
2006-07-05 12:04:56 +00:00
Michael Gernoth
1ea625c969
fix some warnings
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1239 423420c4-83ab-492f-b58f-81f9feb106b5
2006-07-02 13:03:22 +00:00
Peter Åstrand
6fa3105441
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1238 423420c4-83ab-492f-b58f-81f9feb106b5
2006-06-21 14:40:02 +00:00
Matt Chapman
797a7c980c
Windows Vista Beta 2 sends a disconnect PDU with reason 0 when reconnecting
...
to a disconnected session (I do not know if this is a bug or a feature).
Previously we would drop the connection.
I suspect that in general we shouldn't be dropping the connection in
response to the disconnect PDU; we should treat it as informative like the
logon PDU and just save the status.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1237 423420c4-83ab-492f-b58f-81f9feb106b5
2006-06-14 08:59:03 +00:00
Matt Chapman
69692c7014
Allow server public key to be anywhere from 512 bits to 2048 bits.
...
(Vista Beta 2 uses a 2048 bit key)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1236 423420c4-83ab-492f-b58f-81f9feb106b5
2006-06-14 08:26:00 +00:00
Matt Chapman
997e354a24
Fix a small memory leak.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1235 423420c4-83ab-492f-b58f-81f9feb106b5
2006-06-14 06:30:54 +00:00
Pierre Ossman
6b600842b7
QT sets incorrect types on clipboard properties so we have to accept
...
everything and hope for the best.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1233 423420c4-83ab-492f-b58f-81f9feb106b5
2006-05-15 11:38:49 +00:00
Pierre Ossman
f8b9095263
Add a destroy group command to SeamlessRDP for when entire groups of windows
...
get killed off in one go.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1231 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-28 07:55:36 +00:00
Pierre Ossman
7656da0f6b
Don't print server side debug messages unless WITH_DEBUG_SEAMLESS is defined.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1230 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-20 13:01:45 +00:00
Peter Åstrand
e708ae8f7a
Removed two things from the SeamlessRDP TODO: Clipboard works and the Security Dialog is recoqnized.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1228 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-20 12:41:37 +00:00
Peter Åstrand
3486cb8a80
Removed the localstate keyword from translations using numlock. This
...
combination doesn't work very well, for a number of reasons. In
Windows, Shift+KP_key isn't the same thing as NumLock+KP_key. For
example, Shift+0x53 (the Delete key) actually means BackSpace! This
behaviour isn't expected in X11.
With this patch, rdesktop should now work just like most X11
applications, such as standard KDE apps. Additionally, it improves
compatibility with those environments that fakes NumLocks with Shifts,
such as Xvnc.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1227 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-18 14:47:31 +00:00
Peter Åstrand
42970a8216
Make rdpsnd_oss work with Esound again, even with largefile enabled: build this compilation unit without largefile support.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1226 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-13 07:37:24 +00:00
Peter Åstrand
b73a2b4d8c
The default color depth is now the depth of the root window.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1225 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-12 06:47:24 +00:00
Peter Åstrand
6e285f3440
ewmh_modify_state: Prevent using uninitialized state; simplify code.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1224 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-09 20:22:11 +00:00
Peter Åstrand
9e3dd0b7ab
Eliminated a few compile warnings.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1223 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-09 20:16:31 +00:00