Chris Robinson
e52e4b1a8c
Not all devices will have a default effect slot
2012-01-20 12:53:41 -08:00
Chris Robinson
b375897374
Remove an unnecessary else statement
2012-01-20 12:20:24 -08:00
Chris Robinson
fa36435290
Add a default-reverb config option, and rename __ALSOFT_FORCE_REVERB to match
2012-01-20 01:51:27 -08:00
Chris Robinson
37b17c8c78
Add the ability to specify a preset for forced reverb
2012-01-19 20:02:57 -08:00
Chris Robinson
51e81f4867
Add a global option to apply a reverb effect on source send 0
...
A special slot on the device is created and processed, so it can be shared
across all contexts on the device. Sources that don't have a slot set on send 0
will use this special slot instead.
2012-01-19 19:30:03 -08:00
Chris Robinson
5a2a534240
Report parameter request changes in UpdateDeviceParams
2012-01-17 15:55:37 -08:00
Chris Robinson
09258ca5c1
Change the default output format to 32-bit float
2012-01-17 15:38:36 -08:00
Chris Robinson
530597347c
Safely insert the new context into the list
2012-01-12 06:13:24 -08:00
Chris Robinson
e772fb7d0e
Finalize AL_SOFT_buffer_samples
2012-01-10 01:14:02 -08:00
Chris Robinson
535091e36c
Make LockDevice, LockContext, etc, inline
2012-01-09 23:37:03 -08:00
Chris Robinson
18216ab1a9
Remove the warning when a context being released is globally current
...
Just about every implementation allows this, and there's no direct harm caused
by it. However, leave the warnings for when it's still current on specific
threads, as this can cause issues.
2012-01-01 15:36:31 -08:00
Chris Robinson
5500ed9209
Use the device lock when removing the context from the device's list
2012-01-01 15:22:58 -08:00
Chris Robinson
886f874ff3
Use a proper typedef for handling atomic pointer swaps
2012-01-01 15:00:03 -08:00
Chris Robinson
2691c33b55
Use a string to specify the resampler config option
2011-12-20 01:36:01 -08:00
Chris Robinson
a5a929ff72
Restore the old FPU mode if the effects fail to update with new device parameters
2011-12-20 00:35:32 -08:00
Aaron Lindsay
930a7cb046
Merge branch 'master' of git://repo.or.cz/openal-soft
2011-12-14 03:15:51 -05:00
Chris Robinson
14c117ffd3
Initialize listener matrix to identity
2011-11-26 03:37:37 -08:00
Chris Robinson
d5df2ad3ce
Define TlsDestructor for Windows static builds, too
2011-11-12 16:00:37 -08:00
Chris Robinson
d270188578
Append _SOFT to the ALC loopback format enums
2011-11-01 16:00:47 -07:00
Aaron Lindsay
c1ab814f10
Merge branch 'master' of git://repo.or.cz/openal-soft
2011-10-25 05:18:52 -04:00
Chris Robinson
e5374f60c9
Don't close devices that are left open on lib shutdown
2011-10-24 08:23:41 -07:00
Aaron Lindsay
d9373fe4b6
Merge branch 'master' of git://repo.or.cz/openal-soft
2011-10-23 16:27:14 -04:00
Chris Robinson
a7d3779dfa
Check for the HRTF object instead of a flag
2011-10-06 01:16:07 -07:00
Aaron Lindsay
5e77ab78a2
Merge branch 'master' of git://repo.or.cz/openal-soft
2011-10-03 21:22:55 -04:00
Chris Robinson
92f95e4d94
Add support for AL_EXT_ALAW
2011-10-01 04:55:03 -07:00
Chris Robinson
bed37a148c
Use raise(SIGTRAP) instead of kill(getpid(),SIGTRAP)
2011-09-30 20:46:18 -07:00
Chris Robinson
1b81642db5
Set the mixer FPU mode for device parameter updates
2011-09-29 05:15:20 -07:00
Chris Robinson
9266a37276
Move ConeScale and ZScale to ALu.c and alu.h, and make them floats
2011-09-23 22:33:37 -07:00
Aaron Lindsay
13208eb4f5
Add legacy Android backend from openal-soft/android.git
2011-09-21 01:51:26 -04:00
Chris Robinson
e43470da7a
Make a separate log level to trace reference counts, to avoid log spam for traces
2011-09-20 12:24:23 -07:00
Chris Robinson
d3e7a26db6
Fix a warning message
2011-09-20 11:58:26 -07:00
Chris Robinson
8c2a2a5c9d
Trace created device and context pointers
2011-09-20 11:55:40 -07:00
Chris Robinson
edb386eb1e
Add a ConfigValueStr function, to return the string through a parameter
2011-09-19 11:29:18 -07:00
Chris Robinson
cc3dd648ac
Check the number of available samples before calling the capture method
2011-09-18 20:27:34 -07:00
Chris Robinson
b615c7d0a2
Use arrays instead of large switches to decompose formats
2011-09-18 19:06:19 -07:00
Chris Robinson
7e06a10f73
Return int and float config values through a parameter
...
This allows the getter functions to return whether or not the option exists
without a separate call and check.
2011-09-18 16:16:55 -07:00
Chris Robinson
0e5c221a3c
Dynamically allocate space for HRTF tables
2011-09-18 10:09:32 -07:00
Chris Robinson
25f7c27043
Store the HRTF tables used in the device
2011-09-18 09:52:40 -07:00
Chris Robinson
ec3b78e52d
Fix a mutex leak in a capture open error path
2011-09-16 02:17:51 -07:00
Chris Robinson
fd22226242
Make alcSetError static
2011-09-14 11:58:51 -07:00
Chris Robinson
2171aaa35c
Use IsDebuggerPresent instead of the VC-only __try/__except
2011-09-14 02:10:42 -07:00
Chris Robinson
97024151e4
Return an error from the CaptureSamples method instead of setting it
2011-09-14 02:01:35 -07:00
Chris Robinson
404cfde33e
Rename the ALEffect_ macros to ALeffectState_ to reflect what they work on
2011-09-12 05:59:23 -07:00
Chris Robinson
145bc6da6b
Be a bit more robust while handling the global device list
2011-09-12 03:57:53 -07:00
Chris Robinson
69b10e2d7c
Remove the context from being current before removing it from the device
2011-09-12 03:35:21 -07:00
Chris Robinson
25e86e8e91
Get rid of IsContext
2011-09-12 03:18:27 -07:00
Chris Robinson
780417ba39
Use VerifyDevice to validate a device handle instead of IsDevice
2011-09-12 02:17:31 -07:00
Chris Robinson
9f159bfb33
Look for __ALSOFT_TRAP_ERROR to trap both AL and ALC errors
2011-09-12 01:50:57 -07:00
Chris Robinson
c2e9cda2d1
Shorten some warning messages
2011-09-12 01:21:54 -07:00
Chris Robinson
d9cb2baf4a
Don't increment the context reference count when locked
2011-09-11 09:29:24 -07:00