Commit Graph

157 Commits

Author SHA1 Message Date
Chris Robinson
29c6238b52 Keep track of open devices 2008-01-14 10:39:54 -08:00
Chris Robinson
38db8eb64b Reorder setting of some variables 2008-01-12 07:36:22 -08:00
Chris Robinson
3bbbf8a025 Merge branch 'master' into efx-experiment 2008-01-11 17:19:08 -08:00
Chris Robinson
978764cb6b Don't limit output wave filename size 2008-01-11 15:27:56 -08:00
Chris Robinson
893ecf1af2 Fix the Wave Writer's reliance on ftell
So output can work on FIFOs
2008-01-11 15:18:26 -08:00
Chris Robinson
aa453b4e9e Use Sleep instead of usleep 2008-01-11 14:55:35 -08:00
Chris Robinson
f8089d2026 Don't double-close a handle on error 2008-01-11 13:23:37 -08:00
Chris Robinson
40241b4e97 Don't attempt to open ALSA playback/capture if it didn't load 2008-01-11 13:00:30 -08:00
Chris Robinson
f10408739e Add a wave file writing backend 2008-01-11 09:32:22 -08:00
Chris Robinson
e1d0ad749b Use nanosleep instead of usleep
So not to rely on the non-standard unistd.h header
2008-01-11 08:15:44 -08:00
Chris Robinson
2a5a5b5c1b Add Sleep wrapper 2008-01-11 06:54:09 -08:00
Chris Robinson
a97ecb8690 Add a timing wrapper, using gettimeofday 2008-01-11 06:01:51 -08:00
Chris Robinson
bc56c00a9a Allow querying of ALC_MONO_SOURCES and ALC_STEREO_SOURCES
Based on a patch by Xavier Bouchoux
2008-01-10 08:24:23 -08:00
Chris Robinson
1e3ad2f9ce Use a more reliable thread loop for DSound, instead of a Win32 timer
Also use a simpler method for calculating the read/write location
2008-01-08 07:09:25 -08:00
Chris Robinson
9c97f07ec9 Remove unneeded silence field 2008-01-07 00:26:10 -08:00
Chris Robinson
f8acdc9497 Release 1.1.93 2008-01-06 04:35:53 -08:00
Chris Robinson
90d825e7f8 Fix lone ALC_REFRESH query case 2008-01-06 03:36:01 -08:00
Chris Robinson
1178e900eb Don't allow 0 periods 2008-01-06 01:27:26 -08:00
Chris Robinson
298f6f440a Add missing header include 2008-01-06 01:15:44 -08:00
Chris Robinson
8553fb9e30 ALC_REFRESH is the number of updates per second 2008-01-06 01:14:09 -08:00
Chris Robinson
da3b270488 Make OSS's update size dynamic 2008-01-06 00:19:28 -08:00
Chris Robinson
dd60366aec Fix the buffer size so ALSA doesn't multiply by the number of periods 2008-01-06 00:18:06 -08:00
Chris Robinson
017fc93307 Some non-mmap ALSA fixes 2008-01-05 05:33:54 -08:00
Chris Robinson
042ec206e7 Disable fast float-to-int hack.
Even with precautions, it's giving problems. Not worth it since I don't quite
understand how it works, or know if there's even a benefit.
2008-01-05 05:03:31 -08:00
Chris Robinson
312108a0d3 Try a different low-pass filter
Seems to be more correct, although it's not as powerful as the previous (which
may be a good thing)
2008-01-05 03:51:24 -08:00
Chris Robinson
5e48be27b8 Merge branch 'master' into efx-experiment 2008-01-04 14:40:38 -08:00
Chris Robinson
b3badbf97d Use 6 point spatialization for 6.1 and 7.1 output 2008-01-04 14:15:55 -08:00
Chris Robinson
4d5885e27b Implement a crossfeed config option 2008-01-03 06:02:06 -08:00
Chris Robinson
8fe39042da Add the Bauer stereophonic-to-binaural DSP (bs2b) code and hooks 2008-01-03 05:36:51 -08:00
Chris Robinson
9ed574b399 Merge branch 'master' into efx-experiment 2008-01-01 06:29:11 -08:00
Chris Robinson
7ef623c71d Fail if OSS can't set the requested bit depth and channel count 2008-01-01 06:25:00 -08:00
Chris Robinson
733cd120b3 Fix channel ordering for multichannel buffers 2008-01-01 06:16:19 -08:00
Chris Robinson
4e2f8e305e Fix wet volumes for multichannel path 2007-12-31 19:40:24 -08:00
Chris Robinson
3d78d93b40 Merge branch 'master' into efx-experiment 2007-12-31 19:34:52 -08:00
Chris Robinson
5a2f509104 Zero out wet send params when calculating source params
Instead of using a check in the mix loop
2007-12-31 19:13:18 -08:00
Chris Robinson
9382956b0e Remove obsolete comment 2007-12-31 06:00:50 -08:00
Chris Robinson
42027a3f94 Advertise the AL_EXT_MCFORMATS extension 2007-12-31 05:52:22 -08:00
Chris Robinson
1397417fcd Handle AL_FORMAT_REAR* formats 2007-12-31 05:46:20 -08:00
Chris Robinson
c9a539eade Allow loading of 4, 5.1, 6.1, and 7.1 sample data 2007-12-31 05:06:59 -08:00
Chris Robinson
cb1d62f254 Add paths for 4 to 7.1 channel buffer mixing 2007-12-31 04:50:34 -08:00
Chris Robinson
1cbd625b4e Disable unnecessary calculations 2007-12-31 03:45:26 -08:00
Chris Robinson
73678f3b78 Allow psuedo 6.1 and 7.1 output
This only does spatial calculations on the 4 corner speakers, but it's
necessary groundwork for AL_EXT_MCFORMATS support. Spatial calculations for 6
speakers can be added later.
2007-12-31 03:29:14 -08:00
Chris Robinson
79b95da0a3 Check specific formats before general properties 2007-12-31 02:57:58 -08:00
Chris Robinson
1c85273662 Export float32 formats 2007-12-31 02:55:35 -08:00
Chris Robinson
76dd568971 Add some more formats 2007-12-31 02:53:56 -08:00
Chris Robinson
a43868c32b Use an enum list for dealing with channels
This will make it easier to remap channels, especially the center and lfe channels
2007-12-31 01:47:10 -08:00
Chris Robinson
7a99b1fa32 Make some defines local to ALu.c 2007-12-31 01:16:13 -08:00
Chris Robinson
e82c27ab04 Fix includes so alMain.h doesn't include so much by itself 2007-12-31 01:09:57 -08:00
Chris Robinson
f32098e04d Don't append _struct to the source struct name 2007-12-31 01:09:21 -08:00
Chris Robinson
1e0fa58d79 Remove unused macros 2007-12-31 00:52:34 -08:00