357 Commits

Author SHA1 Message Date
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
fcff17c567 Fallback to non-mmap access for ALSA if mmap isn't available 2007-12-30 02:09:39 -08:00
Chris Robinson
2e88a3d03b Check for the correct ALSA driver option name 2007-12-30 01:28:25 -08:00
Chris Robinson
5f8e65e099 Implement AL_EXT_FLOAT32 2007-12-28 22:41:14 -08:00
Chris Robinson
d90b36cf11 Advertise AL_EXT_IMA4, since it's been supported all this time 2007-12-28 22:14:36 -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
dcac0de44c Allow empty device specifiers when opening; treat them like NULL 2007-12-26 17:38:42 -08:00
Chris Robinson
96bd020bd3 Use the right-channel sample... 2007-12-21 14:30:38 -08:00
Chris Robinson
8dc2aef058 Don't send stereo samples to the wet path without an auxiliary slot 2007-12-21 12:12:13 -08:00
Chris Robinson
d43486f894 Fix extrenuous comment 2007-12-21 10:52:26 -08:00
Chris Robinson
229bc0d7e1 Merge branch 'master' into efx-experiment 2007-12-20 21:48:17 -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
44df5c3567 MacOSX doesn't like global szDebug and g_mutex symbol names 2007-12-19 14:14:26 -08:00
Chris Robinson
a433ae0ff4 Use the AuxSendAuto property of the effect slot 2007-12-18 19:43:54 -08:00
Chris Robinson
e5609279da Implement AL_AUXILIARY_SEND_FILTER_GAIN_AUTO property 2007-12-18 19:13:41 -08:00
Chris Robinson
afd3b71849 Implement AL_ROOM_ROLLOFF_FACTOR property 2007-12-18 19:03:40 -08:00
Chris Robinson
919b8c5bd1 Report one max auxiliary send per source 2007-12-18 18:13:49 -08:00
Chris Robinson
6aabc837a9 Fix initial WetMix setup 2007-12-18 17:21:13 -08:00
Chris Robinson
233e6f1765 Implement AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO property 2007-12-18 16:54:22 -08:00
Chris Robinson
9adc20e4e7 Implement AL_EFFECTSLOT_GAIN property 2007-12-18 15:47:24 -08:00
Chris Robinson
bdf16bf601 Add initial auxiliary send paths 2007-12-18 15:10:21 -08:00
Chris Robinson
ebb30ec5b0 Implement AL_AIR_ABSORPTION_FACTOR source property 2007-12-18 13:37:07 -08:00
Chris Robinson
168d8e3bee Add AL_FILTER_LOWPASS support
Direct filters only, since auxiliary sends and slots aren't available yet
2007-12-17 22:42:38 -08:00
Chris Robinson
654788f2cf Implement AL_CONE_OUTER_GAINHF source property 2007-12-17 21:56:31 -08:00
Chris Robinson
fc43a13927 Implement basic lowpass filter path 2007-12-17 21:00:52 -08:00
Chris Robinson
28f80fa113 Add AL_METERS_PER_UNIT listener property 2007-12-17 19:40:43 -08:00
Chris Robinson
be50a5f992 Export ALC_EXT_EFX extension
Preliminary testing can now begin. Almost nothing will work, but the bare
framework is laid out, and the functions can begin to be implemented.
2007-12-17 18:01:01 -08:00
Chris Robinson
635f673b95 Implement ALC properties 2007-12-17 16:55:07 -08:00
Chris Robinson
d14ea2965d The error code is in errno, not the return value 2007-12-16 19:45:32 -08:00
Chris Robinson
e773887b4b Implement capture config option for OSS. 2007-12-16 19:37:20 -08:00
Chris Robinson
5b85067f9c Support capture for OSS 2007-12-16 19:34:52 -08:00
Chris Robinson
1fa1edf16b Fix ring buffer size and overrun detection 2007-12-16 19:30:57 -08:00
Chris Robinson
19156ab895 Add generic ring buffer methods 2007-12-16 18:36:06 -08:00
Chris Robinson
5f4659534a Store a persistant name string with the device struct 2007-12-14 08:51:45 -08:00
Chris Robinson
ba02526612 Implement "drivers" config option 2007-12-12 03:46:43 -08:00
Chris Robinson
7ade93e38c Print an error when ALSA fails to open the audio device 2007-12-12 03:41:37 -08:00
Chris Robinson
fc0a7ea424 Print an error when OSS fails to open the audio device 2007-12-12 03:36:52 -08:00
Chris Robinson
0f3e13ed7c Use -Wextra instead of -W for extra warnings 2007-12-06 23:57:14 -08:00
Chris Robinson
7d068054e6 Use %zd for size_t types 2007-12-06 22:54:15 -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
b4f4a46f7b Avoid void-pointer arithmetic 2007-12-06 22:29:14 -08:00
Chris Robinson
5959e44035 Make another function static 2007-12-06 22:26:52 -08:00
Chris Robinson
b3d35170ce Move some global declrations into headers 2007-12-06 22:22:11 -08:00
Chris Robinson
e9eaacd0bd Remove static variable from DSound callback 2007-12-05 00:37:38 -08:00