Commit Graph

21 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
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
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
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
06e4ea81a9 Correctly init the audio-info structure. Fixes playback-hangs on
OpenBSD after changing volume.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@771 423420c4-83ab-492f-b58f-81f9feb106b5
2004-09-11 19:17:48 +00:00
Michael Gernoth
8308616779 use ifdef to see if we are big-endian
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@693 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-07 12:01:53 +00:00
Michael Gernoth
e0897748b8 Use AUDIO_FLUSH on the BSDs
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@560 423420c4-83ab-492f-b58f-81f9feb106b5
2003-12-11 15:07:04 +00:00
Michael Gernoth
33c294acd4 Use stropts.h on solaris
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@559 423420c4-83ab-492f-b58f-81f9feb106b5
2003-12-11 14:59:54 +00:00
Michael Gernoth
4cc35816cb Removed timezone stuff, due to too much portability problems...
Will solve this later
Portability "fix" for rdpsnd_sun.c on openbsd


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@558 423420c4-83ab-492f-b58f-81f9feb106b5
2003-12-11 12:25:38 +00:00
Michael Gernoth
cd80e92281 Be more portable to platforms where I_FLUSH && FLUSHW are not defined
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@537 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-31 09:38:25 +00:00
Matt Chapman
85d4ff2a21 AUDIO_CHANNELS_MONO/AUDIO_CHANNELS_STEREO not defined in some versions
of Solaris.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@513 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-28 02:33:52 +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
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
35d5c8dcbb Updates to Sun audio support (from Michael Gernoth).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@476 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-04 12:24:56 +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