359 Commits

Author SHA1 Message Date
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
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
1061108c61 Remove some duplication 2007-12-28 22:56:48 -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
87615fffc9 Consolidate buffer loading/conversion a bit 2007-12-28 20:25:18 -08:00
Chris Robinson
8343a98ec6 Avoid a couple explicit format checks for buffers 2007-12-28 19:21:21 -08:00
Chris Robinson
d7bf7a8b0d Don't rely on the exact formats as much for sources 2007-12-28 18:53:46 -08:00
Chris Robinson
9eed1e8609 Add new output formats to sample config 2007-12-27 01:00:19 -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
2ee389044b Check for libm before including it 2007-12-23 16:28:09 -08:00
Chris Robinson
a48201ed94 Fix target opts to remove prefix on the win32 dll
CMake didn't like the previous attempt
2007-12-23 16:27:05 -08:00
Chris Robinson
e516b3c0d3 Prevent possible buffer overflow in AL_PRINT 2007-12-22 14:00:10 -08:00
Chris Robinson
51c5fa94aa Check for snprintf, and use _snprintf when needed 2007-12-22 13:35:52 -08:00
Chris Robinson
d6288d63c6 Release the new stuff on exit for Windows, too 2007-12-22 13:18:05 -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
0bef94cb48 Don't use the lib prefix for the Win32 DLL 2007-12-20 12:32:54 -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
7bf9ebf545 Allow auxiliary effect slot 0 when (un)setting the source auxiliary send 2007-12-18 23:51:21 -08:00
Chris Robinson
1e9302f564 Don't assume only one max send when setting source properties 2007-12-18 19:47:42 -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
4cc64fa9a8 Don't allow properties on effect and filter name 0 2007-12-18 18:39:08 -08:00
Chris Robinson
7f55372727 Implement AL_EFFECT_TYPE property
Only the null effect type is accepted, right now
2007-12-18 18:15:52 -08:00
Chris Robinson
919b8c5bd1 Report one max auxiliary send per source 2007-12-18 18:13:49 -08:00
Chris Robinson
a281027876 Implement AL_AUXILIARY_SEND_FILTER source property 2007-12-18 17:59:28 -08:00
Chris Robinson
72ce653bcf Remove unneeded struct member 2007-12-18 17:46:49 -08:00
Chris Robinson
17c8881444 Add AL_EFFECTSLOT_AUXILIARY_SEND_AUTO property (still unimplemented) 2007-12-18 17:41:44 -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
cf03bfa156 Implement AL_EFFECTSLOT_EFFECT property 2007-12-18 14:22:59 -08:00
Chris Robinson
d4f556836a Only allow one auxiliary effect slot 2007-12-18 13:42:13 -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
06f2076f04 Implement AL_DIRECT_FILTER_GAINHF_AUTO source property 2007-12-17 21:33:05 -08:00
Chris Robinson
fc43a13927 Implement basic lowpass filter path 2007-12-17 21:00:52 -08:00