Commit Graph

18 Commits

Author SHA1 Message Date
Chris Robinson
8fe39042da Add the Bauer stereophonic-to-binaural DSP (bs2b) code and hooks 2008-01-03 05:36:51 -08:00
Chris Robinson
733cd120b3 Fix channel ordering for multichannel buffers 2008-01-01 06:16:19 -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
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
f7ef5c169b Don't default to AL_FORMAT_STEREO16 when writing to the output buffer 2007-12-31 00:08:07 -08:00
Chris Robinson
927763902f Loop per frame, not per sample, when writing the output buffer 2007-12-31 00:05:29 -08:00
Chris Robinson
5f8e65e099 Implement AL_EXT_FLOAT32 2007-12-28 22:41:14 -08:00
Chris Robinson
8011ad97b5 Don't check explicitly against formats, but rather their byte/channel count 2007-12-26 23:29:32 -08:00
Chris Robinson
ab8d342df0 Allow 5.1 channel output
This doesn't use the center or LFE channel in spatial calculations, however
2007-12-26 23:01:22 -08:00
Chris Robinson
5b0514a829 Do the channel pannings based on output channel count
This should make it a bit easier to extend in the future
2007-12-20 21:40:22 -08:00
Chris Robinson
18f05cc1d1 Prevent some ICC warnings 2007-12-06 22:49:23 -08:00
Chris Robinson
d608df5b22 More casts 2007-12-06 22:32:02 -08:00
Chris Robinson
15019b3871 Allow aluMixData to accept a NULL context for silence 2007-12-05 00:29:20 -08:00
Chris Robinson
e0d3102009 Move ALu.c to the Alc directory 2007-11-15 01:45:54 -08:00