Commit Graph

27 Commits

Author SHA1 Message Date
Michael Gernoth
e82b81576b make it possible for the driver to switch resampling on and off
dynamically. this will be needed for the OSS driver.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1278 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-01 14:03:43 +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
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
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
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
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
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
72055744b9 Created a common xstrdup function.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@973 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-04 12:50:15 +00:00
Peter Åstrand
1320755f2b Added missing c-basic-offset:s and license headers
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@962 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-03 10:56:16 +00:00
Peter Åstrand
881f0fe93e Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@800 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-23 13:29:12 +00:00
Michael Gernoth
4ad6d8d4e0 strdup the audio-device
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@793 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-03 10:05:02 +00:00
Michael Gernoth
3f3d20552e fix for uninitialized ioctl pointer.
This could be the cause for hangs with esddsp


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@792 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-03 09:57:48 +00:00
Jay Sorg
966684035b changes to compile with g++
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@777 423420c4-83ab-492f-b58f-81f9feb106b5
2004-10-03 20:19:51 +00:00
Michael Gernoth
db0476bef3 much better playback with non-broken oss-drivers
no change for broken drivers...


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@760 423420c4-83ab-492f-b58f-81f9feb106b5
2004-09-03 22:35:08 +00:00
Michael Gernoth
ee5f4b0a7a fix for esddsp, which does not implement the SNDCTL_DSP_CHANNELS ioctl
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@759 423420c4-83ab-492f-b58f-81f9feb106b5
2004-09-03 18:04:48 +00:00
Michael Gernoth
5632b932bc oss sound fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@752 423420c4-83ab-492f-b58f-81f9feb106b5
2004-08-23 11:13:50 +00:00
Michael Gernoth
cd8b3b6e3e add $AUDIODEV support to oss-driver
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@750 423420c4-83ab-492f-b58f-81f9feb106b5
2004-08-13 09:43:31 +00:00
Peter Åstrand
ed2d6084ed Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@531 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-29 14:14:46 +00:00
Michael Gernoth
aa78fcc1b4 fix for oss-driver (too fast acks)
some g_ prefixes for globals


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@509 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-23 11:11:31 +00:00
Michael Gernoth
a1b061098d Mixer fallback for broken sound-drivers
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@508 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-22 12:16:03 +00:00
Michael Gernoth
62c180be72 Make sure that g_dsp_busy is initialized to False
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@503 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-19 11:59:41 +00:00
Peter Åstrand
3a323bbcc1 Fixed indentation
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@498 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-15 14:01:32 +00:00
Michael Gernoth
5d67a3e036 Volume control for OSS & SUN
Ignore first 4 bytes of audio-packet (clicking noise)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@490 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-13 16:09:45 +00:00
Matt Chapman
5b021f9561 Add Sun audio support, fix a bug in the OSS driver.
(Michael Gernoth <michael@gernoth.net>)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@475 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-04 00:03:24 +00:00
Matt Chapman
4e7667d962 Initial sound support
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@474 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-01 12:35:17 +00:00