Chris Robinson
6dc194ed1d
Fix a misnamed variable
2012-02-19 11:56:01 -08:00
Chris Robinson
1aa69e77e9
Print a warning if using the 'format' config option
2012-02-19 11:54:24 -08:00
Chris Robinson
6ac16867b4
Only set a default slot for non-NULL effect types
2012-02-18 17:09:08 -08:00
Chris Robinson
6b272ff585
Add a device parameter to alcLoopbackOpenDeviceSOFT
2012-02-15 20:52:49 -08:00
Chris Robinson
fecd679f33
Add a device request flag for the sample type
2012-02-15 16:26:32 -08:00
Chris Robinson
9afd6b2858
Separate the format config option into channels and sample-type
2012-02-15 15:22:44 -08:00
Chris Robinson
670c88a64c
Define a minimum output sample rate and warn if the config option goes below it
2012-02-15 12:26:19 -08:00
Chris Robinson
425ff7cb00
Combine a couple if checks
2012-02-15 11:28:19 -08:00
Chris Robinson
1140b3ae83
Support signed and unsigned 32-bit int output
2012-02-14 11:44:57 -08:00
Chris Robinson
e394d14cda
Use more proper enum names for the resampler
2012-02-12 08:45:19 -08:00
Chris Robinson
ef68aa39f8
Rename non_virtual_channels to direct_channels
2012-02-09 23:35:17 -08:00
Chris Robinson
c211f1d3fe
Don't enable BS2B for loopback devices
2012-02-07 07:06:38 -08:00
Chris Robinson
0107e74986
Use an enum for static const values
2012-01-31 03:43:52 -08:00
Chris Robinson
4393b6b05f
Only initialize the default reverb effect when a slot is available
2012-01-29 22:49:17 -08:00
Chris Robinson
1d1440ac64
Make sure context attributes are specified for loopback devices
2012-01-26 16:31:46 -08:00
Chris Robinson
119768001c
Make sure InitializeEffect on the default slot doesn't set a context error
2012-01-26 14:46:52 -08:00
Chris Robinson
3ee92a2b33
Return the error code from UpdateDeviceParams
2012-01-25 20:00:34 -08:00
Chris Robinson
f87b607a53
Make sure the attributes list specifies a format for loopback devices
2012-01-25 19:54:55 -08:00
Chris Robinson
f520257463
Avoid duplicating some initialization code
2012-01-20 16:23:15 -08:00
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
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
Chris Robinson
e5374f60c9
Don't close devices that are left open on lib shutdown
2011-10-24 08:23:41 -07:00
Chris Robinson
a7d3779dfa
Check for the HRTF object instead of a flag
2011-10-06 01:16:07 -07: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
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