Chris Robinson
13a2e6ef1f
Don't calculate reverb HF limit if air absorption is 1
2008-11-18 03:26:02 -08:00
Chris Robinson
0ecb34b850
Non-cross-compiled DLLs shouldn't have lib prefixed
2008-11-18 03:24:49 -08:00
Chris Robinson
1f86c48d95
Remove outdated comments and add copyright header
2008-11-17 09:32:25 -08:00
Chris Robinson
7e1295df9a
DirectSound is not explicitly dependant on windows.h
2008-11-16 04:39:12 -08:00
Chris Robinson
482b160c8a
Remove unneeded macro
2008-11-16 01:07:39 -08:00
Chris Robinson
181eb95b13
Use a better dB-to-linear gain convertion
2008-11-16 00:57:35 -08:00
Chris Robinson
c0ccd31a3e
Implement a new reverb effect
...
Code created and graciously provided by Christopher Fitzgerald
2008-11-16 00:29:49 -08:00
Chris Robinson
d72b132c57
Add an option to disable specific EFX effect types
2008-11-14 07:13:59 -08:00
Chris Robinson
506912aed7
Add cross-compiling option
2008-11-13 23:13:15 -08:00
Chris Robinson
670d70d3c9
Allow specifying another config file with the ALSOFT_CONF env var
2008-11-13 07:58:39 -08:00
Chris Robinson
010f7d12f4
Don't ramp gains when starting a sound from the beginning
2008-11-13 05:48:38 -08:00
Chris Robinson
da684564ea
Avoid unnecessary floating-point math
2008-11-11 17:59:55 -08:00
Chris Robinson
fc4c867f27
Add initial AL_EXTX_buffer_sub_data support
...
Note that this is an in-development extension, as noted by the EXTX moniker
instead of EXT. It's behavior is subject to change, and the extension string
will be removed (replaced with the official string once it's finalized).
Developers are discouraged from using this in production code, though feel
free to play around with it.
2008-11-11 05:57:32 -08:00
Chris Robinson
9ba30c4e20
Fix Win32 thread handle leak
2008-11-05 19:42:56 -08:00
Chris Robinson
15334e56cd
Be more flexible with channel count when loading IMA4 data
2008-11-02 15:30:56 -08:00
Chris Robinson
ffa42ff22c
Seperate data converters into reusable functions
2008-11-02 01:24:57 -07:00
Chris Robinson
a7c62dbabc
More padding fixes
2008-11-01 16:37:32 -07:00
Chris Robinson
eda1e41152
More buffer conversion refactoring
2008-11-01 16:35:16 -07:00
Chris Robinson
af5a5b76ec
Padding is not dependant on the frequency cutoff anymore
2008-10-31 23:32:28 -07:00
Chris Robinson
87f3a0dc16
Restructure buffer data conversion code a bit
2008-10-31 22:13:35 -07:00
Chris Robinson
2c80a80704
Fix typo preventing capture from opening
2008-10-27 23:37:56 -07:00
Chris Robinson
301a4c4a95
Append the driver and its version to the AL version string
2008-10-25 15:48:17 -07:00
Chris Robinson
8fc4a3b724
Make sure an appropriate error is set when opening a device fails
2008-10-24 19:58:49 -07:00
Chris Robinson
cb6f040005
Use plughw for capture so ALSA can convert capture data
2008-10-14 09:50:37 -07:00
Chris Robinson
b91c2e4a99
Include float.h if it exists, for _RC_CHOP and _MCW_RC
2008-10-14 09:47:32 -07:00
Chris Robinson
59a71b1454
Remove another unused source member
2008-10-10 01:31:31 -07:00
Chris Robinson
36f133a5ae
Use a modulo to keep the buffer position in range for looping sources
...
A high pitch and low buffer size can cause a lot of unnecessary iterations
otherwise, that just decrement the position
2008-10-10 01:13:32 -07:00
Chris Robinson
74a58c0d09
Clamp source position to the buffer size when it stops
2008-10-09 23:54:31 -07:00
Chris Robinson
bfa1107781
Remove unneeded source member variable
2008-10-09 23:44:48 -07:00
Chris Robinson
11397f7667
Commit missing changes
2008-10-09 20:58:12 -07:00
Chris Robinson
6e9e8239ef
Only send one channel through the wet path
2008-10-09 04:02:34 -07:00
Chris Robinson
af9932d28b
Increase max pitch to 65536
...
This should be safe now
2008-10-09 02:50:00 -07:00
Chris Robinson
87ff8a65e9
Simplify the lerp function
2008-10-09 02:32:47 -07:00
Chris Robinson
7b6f207790
Don't apply the wet path for multi-channel buffers
2008-10-09 02:28:52 -07:00
Chris Robinson
8672008e43
Skip mixing if the read position is beyond the end of the buffer
2008-10-09 01:17:39 -07:00
Chris Robinson
c8cd193346
The wet path should be silent if no effect is set on the slot
2008-10-09 01:07:02 -07:00
Chris Robinson
be292e5f0b
Don't hold the whole-number position in the fractional value
...
This will help prevent overflows when the max pitch is increased
2008-10-02 23:53:46 -07:00
Chris Robinson
3863dcc9cb
Use a new low-pass filter, based on the I3DL2 spec
...
Many thanks to Christopher Fitzgerald, for helping with it
2008-10-02 22:20:42 -07:00
Chris Robinson
a2568409fc
Implement non-mmap ALSA capture
2008-09-29 17:24:50 -07:00
Chris Robinson
6567cdd7b5
Air absorption factor is applied to the dB value, not linear gain
2008-09-22 17:01:47 -07:00
Chris Robinson
5bbf55a401
Add a variable to override the default library type with
2008-09-16 07:43:38 -07:00
Chris Robinson
4a530e2146
Fixup some source parameter calculations
2008-09-16 07:36:48 -07:00
Chris Robinson
27ba8f7b60
Fix function pointer declarations
2008-09-16 06:19:27 -07:00
Chris Robinson
6bfdb57a5b
Use a 12dB/oct rolloff instead of 24 for the lowpass filter
2008-09-13 02:46:14 -07:00
Chris Robinson
26e8ea60a5
Store pi as a static const
2008-09-13 00:44:48 -07:00
Chris Robinson
f4ea188ffa
Fix typo to get the proper minor ALC version
2008-09-12 18:07:12 -07:00
Chris Robinson
1266580420
Print EFX info when the extension is available
2008-09-12 18:05:23 -07:00
Chris Robinson
16d96eed7b
Add a Solaris playback backend
2008-09-07 14:34:14 -07:00
Chris Robinson
fa76168683
Clear the end of the buffer when at the end of the queue and not looping
2008-09-06 14:08:53 -07:00
Chris Robinson
5f3329b2c9
Don't export extension function symbols from the lib
2008-09-06 13:45:27 -07:00