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
69f9ab88b9
Send multi-channel sources to auxiliary effect slots
...
They are downmixed to mono using a volume-preserving scalar, and passed
through a 1-pole low-pass filter (not chained)
2009-11-26 00:39:32 -08:00
Chris Robinson
1a0676f0eb
Mark sources for updating when a new context is made from the device
2009-11-25 16:28:19 -08:00
Chris Robinson
658923175f
Update source parameters only when they need changing
2009-11-25 16:21:47 -08:00
Chris Robinson
877f4340ba
Base air absorption on distance attenuation, try 2
2009-11-24 21:19:11 -08:00
Chris Robinson
35a9ccb41f
Revert "Base air absorption on the distance attenuation"
...
This reverts commit c7c2f9385f
.
Fundamentally wrong. The -6dB rolloff is every doubling of the distance, and
the (scaled) -0.05dB rolloff is supposed to be every additional unit.
2009-11-24 01:39:34 -08:00
Chris Robinson
c7c2f9385f
Base air absorption on the distance attenuation
2009-11-23 16:25:37 -08:00
Chris Robinson
d1f3dbb9a1
Make modulation index 0 map to offset 0
2009-11-23 04:14:12 -08:00
Chris Robinson
cfb30fe975
Use a 4x4 matrix to transform coordinates
2009-11-23 04:13:51 -08:00
Chris Robinson
2d1b378ef2
Transform all relevant vectors for converting world-space to listener-space
2009-11-22 22:36:20 -08:00
Chris Robinson
06bbee2449
Add a function for 1-pole filtering
2009-11-22 21:20:27 -08:00
Chris Robinson
85bc300dfa
ALCAPIENTRY is deprecated in favor of ALC_APIENTRY
2009-11-22 21:15:11 -08:00
Chris Robinson
0662adacb9
Fix alBufferDataStatic extension name in alext.h
2009-11-22 21:12:43 -08:00
Chris Robinson
65a153da6c
Update the drivers config file comment
2009-11-22 15:43:05 -08:00
Chris Robinson
c5ee010640
The echo should not take energy-attenuated input
2009-11-22 15:37:32 -08:00
Chris Robinson
1b18b4a0ee
Allow unlisted backends to stay available when the drivers list ends with ,
2009-11-22 01:06:05 -08:00
Chris Robinson
58765aab6b
Print available devices before trying to open one
2009-11-19 19:02:16 -08:00
Chris Robinson
1483af1baa
Watch for NULL and empty device lists
2009-11-19 18:49:24 -08:00
Chris Robinson
13979793f6
Display supported filters using a comma-separated listing
2009-11-19 18:46:23 -08:00
Chris Robinson
9c228e7625
Be clearer if device opening or context setup fails
2009-11-19 18:25:29 -08:00
Chris Robinson
6a667b36d1
Reorganize and improve the reverb effect
...
Code supplied by Christopher Fitzgerald. This update also implements the echo
and modulation parameters.
2009-11-19 14:05:04 -08:00
Chris Robinson
fe37f1968d
Better approximate the wet attenuation model for reverb
2009-11-19 11:06:41 -08:00
Chris Robinson
4565bdd7ce
Make sure there's at least a one-sample delay for the echo's first tap
2009-11-19 10:42:41 -08:00
Chris Robinson
5f3c07ca3b
Apply the reverb room rolloff factor for EAX reverb too
2009-11-19 10:29:10 -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
e868eef679
Make sure to set the new echo sample buffer and remove an unused macro
2009-11-18 17:34:08 -08:00
Chris Robinson
ea90f781ff
Release 1.10.622
2009-11-08 21:36:44 -08:00
Chris Robinson
c1b161b44b
Handle NULL effect objects as AL_EFFECT_NULL effects
2009-11-05 20:50:56 -08:00
Chris Robinson
aa84b2e328
Handle setting AL_EFFECT_NULL effect types on a slot
2009-11-05 18:22:43 -08:00
Chris Robinson
ebc1602816
Use the DXSDK_DIR variable when set
2009-11-02 14:57:48 -08:00
Chris Robinson
dcd6a55529
Use a realtime clock for measuring time
2009-11-01 10:03:05 -08:00
Chris Robinson
fb258a7416
Properly lock the device when setting it disconnected
2009-11-01 09:29:20 -08:00
Chris Robinson
5aed927887
Watch for stream and context failures from pulse, and report disconnects
2009-10-31 20:05:15 -07:00
Chris Robinson
d964bb9f2f
Fix length calculation for pulse
2009-10-31 19:30:12 -07:00
Chris Robinson
87dc7a5b97
Set a proper channel map for PulseAudio
2009-10-31 19:29:41 -07:00
Chris Robinson
ae63ca481d
Mix all updates PulseAudio requests
2009-10-31 17:59:30 -07:00
Chris Robinson
8e599103b6
Watch for buffer attribute changes from PulseAudio
2009-10-31 17:57:35 -07:00
Chris Robinson
af0140e260
Use signals to watch for state changes
...
This partially reverts commit 617b6728d3
2009-10-31 17:52:26 -07:00
Chris Robinson
9d43907710
Properly free the device name
2009-10-31 13:25:26 -07:00
Chris Robinson
a3fcd67a82
Remove some unneeded buffer fields, make padding a constant amount
2009-10-25 08:31:28 -07:00
Chris Robinson
fe3a43e2d4
Remove the format and frequency from the source, get them manually
2009-10-25 06:26:19 -07:00
Chris Robinson
e095047b02
Small fixups
2009-10-25 06:16:21 -07:00
Chris Robinson
31a106344f
Calculate more store only once per loop
2009-10-25 05:34:47 -07:00
Chris Robinson
b0a82aa420
Store the buffer format and frequency in the source when updated
2009-10-25 05:03:22 -07:00
Chris Robinson
c003d6032d
Retreive and store source params once per mix update
2009-10-25 04:39:36 -07:00
Chris Robinson
1665595138
Remove unneeded bufferlistitem properties
2009-10-25 02:59:31 -07:00
Chris Robinson
bbccf76b45
Dereference left over buffers and slots when sources are released
2009-10-24 07:09:44 -07:00
Chris Robinson
1f47fa9243
Try 32-bit float before 16-bit, and stereo before mono
2009-10-24 03:20:47 -07:00
Chris Robinson
7b24a12a66
Check for the -pthread switch instead of using _REENTRANT
2009-10-23 10:36:32 -07:00