303 Commits

Author SHA1 Message Date
Chris Robinson
87b5d7bc7b Store extension list with a pointer, not a per-context array 2008-07-22 12:39:10 -07:00
Chris Robinson
eba60c30c5 Don't force initialization when shutting down
Thanks to Michael Simms
2008-07-17 18:45:21 -07:00
Chris Robinson
e66bb09156 Move (de)initialization into ALc.c and remove unneeded file 2008-07-17 18:38:07 -07:00
Chris Robinson
ca6feeda29 Make sure the lib is initialized when shutting down
Pretty ugly, but the destructor sequence relies in the mutex being initialized
2008-05-18 20:17:31 -07:00
Chris Robinson
8c3188bc7d Remove FrameSize struct member 2008-02-14 22:05:56 -08:00
Chris Robinson
c3446a10fa Rename UpdateFreq device field to UpdateSize 2008-02-12 19:38:27 -08:00
Chris Robinson
e3e4dbbccf Make the backend list static 2008-02-11 17:24:04 -08:00
Chris Robinson
7fda645b16 Call InitAL at the start of some more ALC functions 2008-02-11 17:23:31 -08:00
Chris Robinson
13a3fe8a7a Remove unneeded device struct member 2008-02-08 19:41:47 -08:00
Chris Robinson
3dd3cd4ceb Prevent overflow of the device lists 2008-02-08 15:33:26 -08:00
Chris Robinson
33680accea Don't remove the devices from the device list on unexpected shutdown
The close functions will remove it for us
2008-02-08 14:44:05 -08:00
Chris Robinson
081e593e2b Set the done flag immediately when entering the initialization
To prevent two threads from initializing at the same time (not that it's
likely to happen at this point).
2008-02-06 22:22:29 -08:00
Chris Robinson
b4ffdfab81 Add an option for duplicating stereo sources on the back speakers 2008-02-06 22:18:50 -08:00
Chris Robinson
5f1c0450b3 Remove unnecessary Channels field 2008-01-25 16:38:37 -08:00
Chris Robinson
543eb9d217 Don't use a multiple lists for extensions 2008-01-19 20:02:40 -08:00
Chris Robinson
bc963463f3 Add an option for setting the max number of sources 2008-01-19 19:38:06 -08:00
Chris Robinson
86b7b3d54b Remove duplication of setting the max source count 2008-01-19 19:28:34 -08:00
Chris Robinson
1b9d740244 Remove duplicated source freeing code 2008-01-18 00:56:01 -08:00
Chris Robinson
497ada9c77 Buffer size fixes. Partially reverts the ALSA buffer size "fix" 2008-01-18 00:28:25 -08:00
Chris Robinson
be34dbe608 Don't include alAuxEffectSlot.h in alSource.h 2008-01-16 14:01:24 -08:00
Chris Robinson
8ad16145f6 Make sure sources are deleted with the context 2008-01-16 13:27:15 -08:00
Chris Robinson
b95fcf5da1 Store effect slots in the context 2008-01-15 16:22:39 -08:00
Chris Robinson
df07e8a65b Add support for AL_LOKI_quadriphonic 2008-01-14 16:11:15 -08:00
Chris Robinson
7a4870bd97 Close dangling devices when exiting 2008-01-14 10:54:33 -08:00
Chris Robinson
a552e32a9a Destroy context if closing a device with one 2008-01-14 10:42:11 -08:00
Chris Robinson
29c6238b52 Keep track of open devices 2008-01-14 10:39:54 -08:00
Chris Robinson
3bbbf8a025 Merge branch 'master' into efx-experiment 2008-01-11 17:19:08 -08:00
Chris Robinson
f10408739e Add a wave file writing backend 2008-01-11 09:32:22 -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
90d825e7f8 Fix lone ALC_REFRESH query case 2008-01-06 03:36:01 -08:00
Chris Robinson
8553fb9e30 ALC_REFRESH is the number of updates per second 2008-01-06 01:14:09 -08:00
Chris Robinson
5e48be27b8 Merge branch 'master' into efx-experiment 2008-01-04 14:40:38 -08:00
Chris Robinson
4d5885e27b Implement a crossfeed config option 2008-01-03 06:02:06 -08:00
Chris Robinson
3d78d93b40 Merge branch 'master' into efx-experiment 2007-12-31 19:34:52 -08:00
Chris Robinson
42027a3f94 Advertise the AL_EXT_MCFORMATS extension 2007-12-31 05:52:22 -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
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
dcac0de44c Allow empty device specifiers when opening; treat them like NULL 2007-12-26 17:38:42 -08:00
Chris Robinson
229bc0d7e1 Merge branch 'master' into efx-experiment 2007-12-20 21:48:17 -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
919b8c5bd1 Report one max auxiliary send per source 2007-12-18 18:13:49 -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
ba02526612 Implement "drivers" config option 2007-12-12 03:46:43 -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
ab34e7c613 Use an AL_PRINT macro for printing lib messages/errors to the console 2007-11-30 00:28:34 -08:00
Chris Robinson
092b88364b Don't use platform-specific methods for initialization 2007-11-16 00:48:42 -08:00