Chris Robinson
|
0378422fcb
|
Use a map to store sources and buffers
And do a lookup using a binary search instead of linear
|
2010-05-01 19:59:41 -07:00 |
|
Chris Robinson
|
5d7815beed
|
Only apply ambient gain to available output channels
|
2010-04-27 11:39:54 -07:00 |
|
Chris Robinson
|
a04dac670e
|
Make stereo duplication a property of the device
Further, don't use it with mono/stereo output
|
2010-04-20 03:57:40 -07:00 |
|
Chris Robinson
|
aace50ebf4
|
Store the panning LUT in the device
|
2010-04-08 15:58:11 -07:00 |
|
Chris Robinson
|
37c93a6ad8
|
Always mix internally at 8.1
The channels are remixed when writing to the output buffer. Stereo duplication
is currently broken, but this can be restored later
|
2010-04-08 14:47:12 -07:00 |
|
Chris Robinson
|
1b1c76da34
|
Invert device channel map array
|
2010-04-08 13:11:21 -07:00 |
|
Chris Robinson
|
d2a6fd58a3
|
Use unsigned types for mono and stereo source count hints
|
2010-03-25 18:39:16 -07:00 |
|
Chris Robinson
|
702c62c9a2
|
Use a global handle to store the process-wide context
|
2010-03-23 21:05:29 -07:00 |
|
Chris Robinson
|
7fb4c4ce4f
|
Move extension function declarations to alext.h/efx.h
|
2010-03-23 18:21:55 -07:00 |
|
Chris Robinson
|
3e9934e810
|
Mark extension functions with AL_API/ALC_API
|
2010-03-23 17:44:01 -07:00 |
|
Chris Robinson
|
a572b13743
|
Don't use deprecated macros
|
2010-03-19 14:34:18 -07:00 |
|
Chris Robinson
|
0fee20a415
|
Simplifiy verification loops
|
2010-03-17 20:16:02 -07:00 |
|
Chris Robinson
|
9c417d33cc
|
clock_gettime is available only when _POSIX_TIMERS is greater than 0
|
2010-03-17 12:04:33 -07:00 |
|
Chris Robinson
|
65f43637ce
|
Avoid some alIs* calls while under the context lock
Instead, use functions that verify the ID by searching the object list and
returning its handle
|
2010-03-16 18:54:36 -07:00 |
|
Chris Robinson
|
ec917e8e2f
|
Rename some struct members for consistency
|
2010-03-16 15:37:41 -07:00 |
|
Chris Robinson
|
f22b02a762
|
al_print doesn't need to be inline
|
2010-01-12 09:05:57 -08:00 |
|
Chris Robinson
|
0c2efa1253
|
Use GCC's format attribute for al_printf
|
2010-01-12 08:48:25 -08:00 |
|
Chris Robinson
|
5921e18be2
|
Fix some typos with the solaris backend
|
2010-01-12 08:28:07 -08:00 |
|
Chris Robinson
|
7ee81eac0f
|
Store ALC errors with the device when possible
|
2009-12-28 23:19:13 -08:00 |
|
Chris Robinson
|
69ab93a824
|
Add a function to check if a config option is set to a non-empty value
|
2009-12-28 13:08:15 -08:00 |
|
Chris Robinson
|
6e9ce47a4b
|
GetConfigValueBool should take an int, not a float
|
2009-12-26 07:42:57 -08:00 |
|
Chris Robinson
|
7f0c6629b9
|
Use a 64-bit value to scale potentially-large numbers
|
2009-12-24 15:41:45 -08:00 |
|
Chris Robinson
|
2b7953c472
|
Track whether a context is suspended or not
|
2009-12-09 12:14:53 -08:00 |
|
Chris Robinson
|
84d2d623b6
|
Add a head-dampening option
This simulates occlusion of the player's head for sounds coming from behind,
when outputing to mono or stereo
|
2009-12-08 14:18:07 -08:00 |
|
Chris Robinson
|
9286e3984c
|
Move default channel order setting out of the header
|
2009-12-07 04:19:33 -08:00 |
|
Chris Robinson
|
92ade80557
|
Fix 6.1 channel order
|
2009-12-07 00:49:56 -08:00 |
|
Chris Robinson
|
58ecc7fad4
|
Check for potential NULL accesses with the IsBadWritePtr wrapper
|
2009-12-04 01:33:50 -08:00 |
|
Chris Robinson
|
b5270e0bb3
|
Use a channel-map to specify the output device channel order
|
2009-12-02 04:03:51 -08:00 |
|
Chris Robinson
|
6cfc31777b
|
Add an option for real-time priority mixing
Default to disable for now, as a safety precaution
|
2009-12-01 23:15:09 -08:00 |
|
Chris Robinson
|
f63d8dbf38
|
Enable real-time priority for ALSA, OSS, and DirectSound mixing loops
|
2009-11-29 23:02:21 -08:00 |
|
Chris Robinson
|
98ce1d14c1
|
Update AL_EXTX_source_distance_model to require explicit enabling
The in-progress spec has been updated to reflect this
|
2009-11-27 20:05:21 -08:00 |
|
Chris Robinson
|
8d1da6a8ca
|
Move NextPowerOf2 to alMain.h
|
2009-11-19 09:50:15 -08:00 |
|
Chris Robinson
|
ff8e09495d
|
Move aluCart2LUTpos to alu.h
|
2009-11-19 09:24:35 -08:00 |
|
Chris Robinson
|
dcd6a55529
|
Use a realtime clock for measuring time
|
2009-11-01 10:03:05 -08:00 |
|
Chris Robinson
|
75b65ab2a2
|
Remove the Frequency field from the context
|
2009-10-20 13:47:55 -07:00 |
|
Chris Robinson
|
93361118b7
|
Store a device's contexts in a dynamic array
|
2009-10-20 11:54:04 -07:00 |
|
Chris Robinson
|
c7c4cf221a
|
Make the dry buffer part of the device
|
2009-10-09 01:06:33 -07:00 |
|
Chris Robinson
|
d6e439244a
|
Rename SetALCError for consistency
|
2009-10-07 04:32:14 -07:00 |
|
Chris Robinson
|
cbcaa54173
|
Store the number of periods in the device instead of the buffer size
Also keep all the fields in sync
|
2009-09-16 22:58:54 -07:00 |
|
Chris Robinson
|
94e3fca702
|
Remove unnecessary parameters, and rename methods
|
2009-09-16 00:24:44 -07:00 |
|
Chris Robinson
|
49648fe22d
|
Make a GetConfigValueBool function and use it
|
2009-09-15 22:18:13 -07:00 |
|
Chris Robinson
|
12f81bcbb9
|
Move the stereo-to-binaural filter to the device
|
2009-09-15 19:06:47 -07:00 |
|
Chris Robinson
|
59ed9338d8
|
Add support for the in-progress ALC_EXT_thread_local_context extension
|
2009-09-12 16:45:46 -07:00 |
|
Chris Robinson
|
bb121e68a6
|
Rebuild device lists when retrieving them
|
2009-08-27 06:09:33 -07:00 |
|
Chris Robinson
|
6bb14e45ce
|
Store a copy of the device name in the device
|
2009-08-27 02:53:09 -07:00 |
|
Chris Robinson
|
45dc804819
|
Store copies of the device names in the individual backends
|
2009-08-27 01:47:41 -07:00 |
|
Chris Robinson
|
81db01ebf1
|
Add a method to deinitialize backends
|
2009-08-26 23:45:00 -07:00 |
|
Chris Robinson
|
7976de05a5
|
Add base support for ALC_EXT_disconnect
Individual backends need to be updated to handle disconnection events
|
2009-08-26 19:15:17 -07:00 |
|
Chris Robinson
|
462f27c129
|
Use a function to retrieve the current context in an already-locked state
This should help prevent race-conditions with a context being destroyed between
breing retrieved and locked
|
2009-08-16 14:09:23 -07:00 |
|
Chris Robinson
|
0b7eb9f118
|
Add in-progress working extension AL_EXTX_sample_buffer_object
|
2009-08-16 00:54:08 -07:00 |
|