Commit Graph

27 Commits

Author SHA1 Message Date
Michael Gernoth
fb206f958b reset WAVEOUTLEN back to 16 as gui becomes unresponsive with higher values
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1294 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-14 22:12:47 +00:00
Michael Gernoth
188b928bfa rename WAVEOUTBUF to WAVEOUTLEN and increase it to 1024 bytes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1289 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-01 22:30:34 +00:00
Michael Gernoth
23ea0a9173 make libao a bit more efficient on big endian
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1288 423420c4-83ab-492f-b58f-81f9feb106b5
2006-10-01 22:27:11 +00:00
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
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
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
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
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
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
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
Michael Gernoth
bcfc457bd5 reduce size of output-buffer to improve ui-performance
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1044 423420c4-83ab-492f-b58f-81f9feb106b5
2006-02-08 13:35:35 +00:00
Michael Gernoth
985a1155ea use signed char resample buffer instead of unsigned
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1042 423420c4-83ab-492f-b58f-81f9feb106b5
2006-02-07 16:21:31 +00:00
Peter Åstrand
fbe5a9dca1 Indent fix
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@985 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-24 11:31:58 +00:00
Michael Gernoth
04ea0d7192 fix signedness-warning for ao_play
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@978 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-15 11:49:47 +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
19769936e4 much better sound synchronization using the provided timestamps
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@890 423420c4-83ab-492f-b58f-81f9feb106b5
2005-04-22 21:54:57 +00:00
Michael Gernoth
e9eb80017a bugfix: correctly increment the out->p pointer
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@840 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-08 17:23:26 +00:00
Michael Gernoth
ffbb77466d add upsampling for mono-channels
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@839 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-08 17:03:08 +00:00
Michael Gernoth
da1244ef76 warn that volume changes are not supported with this output
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@837 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-08 12:29:19 +00:00
Michael Gernoth
653ae4e33f indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@836 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-08 12:16:22 +00:00
Michael Gernoth
db950b359a #define size of resampling buffer
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@835 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-08 12:09:20 +00:00
Michael Gernoth
d6a76fe8bc add initial support for multiple windows samplerates
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@834 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-08 04:25:12 +00:00
Michael Gernoth
0c659ecd83 basic libao output-driver. works on Mac OSX.
no volume control possible


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@832 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-08 03:33:36 +00:00