Chris Robinson
be2028ba4a
Fix HRTF group box size
2015-10-12 06:42:28 -07:00
Chris Robinson
67455c66a1
Replace the resample_fir6 declaration with resample_fir8
2015-10-12 06:34:55 -07:00
Chris Robinson
db4253d3bd
Remove 96khz from the combo box
...
It can still be entered in manually, as can any value between 8khz and 192khz,
but having it selectable can create the mistaken idea that selecting it is
better than picking 44.1khz or 48khz.
2015-10-12 06:23:50 -07:00
Chris Robinson
b4bc36c4a0
Reorganize the HRTF group box
...
The three radio buttons are moved to a combo box, which gives a bit more width
for the file list contents.
2015-10-12 05:52:34 -07:00
Chris Robinson
ed0f3bc1b1
Only show certain options that are available at build-time
2015-10-11 23:56:45 -07:00
Chris Robinson
f33d6a5211
Reformat the CPU Extensions' checkboxes
2015-10-11 12:03:50 -07:00
Chris Robinson
b859f1bdc3
Avoid multiple sin, cos, and sqrt calls for filter calculations
2015-10-11 10:21:37 -07:00
Chris Robinson
db22465c1d
Update changelog
2015-10-11 07:40:09 -07:00
Chris Robinson
00e419e948
Replace the sinc6 resampler with sinc8, and make SSE versions
2015-10-11 07:37:22 -07:00
Chris Robinson
0211831858
Move the FIR4 from SSE2 to SSE3
...
SSE3 can avoid the slow _MM_TRANSPOSE_PS4 call thanks to the inclusion of
horizontal adds.
2015-10-11 06:38:00 -07:00
Chris Robinson
75d8e5989f
Slightly improve the FIR4 SSE resamplers
2015-10-11 05:31:14 -07:00
Chris Robinson
0149dded34
Use doubles to calculate the Lanczos coefficients
2015-10-09 08:30:33 -07:00
Chris Robinson
34e55c0034
Update changelog
2015-10-08 00:41:40 -07:00
Chris Robinson
4f4cadd756
Allow apps to request a specific HRTF
2015-10-07 03:29:53 -07:00
Chris Robinson
0eef6d9d51
Use the enumerated HRTF list for selecting an HRTF
...
Also report the proper specifier of the one currently in use.
2015-10-06 06:48:53 -07:00
Chris Robinson
1b51ee8b87
Store the Hrtf struct with the corresponding HrtfEntry
...
Also store the filename with the Hrtf struct so it can be reused for multiple
HrtfEntry objects.
2015-10-06 04:01:53 -07:00
Chris Robinson
946b3d5746
Try to use the full path for the CWD instead of .
2015-10-06 01:26:15 -07:00
Chris Robinson
a4c378dd00
Enumerate and list HRTFs per-device
2015-10-06 00:23:11 -07:00
Chris Robinson
f590af510d
Skip empty data directory entries
2015-10-04 17:24:12 -07:00
Chris Robinson
074983b19c
Implement SearchDataFiles for Windows
2015-10-04 16:41:54 -07:00
Chris Robinson
70fbc2b1ff
Add a function to get a list of data files
...
The method takes a marked-up filename (e.g. may include %r for a sample rate,
%% for %, etc), and returns a vector of strings of found filenames that match.
It will search the CWD, the local, and global data directories, in that order.
2015-10-03 20:41:18 -07:00
Chris Robinson
aa10068ca2
Add methods to enumerate and query device HRTFs
...
Currently just returns a dummy entry.
2015-10-03 19:59:21 -07:00
Chris Robinson
0fcd497796
Combine two arrays
2015-10-01 01:05:08 -07:00
Chris Robinson
07f80eb4e1
Move the resampler stuff to mixer.c where it's used
2015-10-01 00:34:13 -07:00
Chris Robinson
d5675d5395
Search more aggressively for libs needed by SDL_sound
2015-09-30 21:34:30 -07:00
Chris Robinson
da3b9568dd
Revert "Only use SDL1 with SDL_sound"
...
This reverts commit 8883ce1cef86c07d6eaa7e0eff2e132e181184f0.
2015-09-30 18:45:19 -07:00
Chris Robinson
904cdfda32
Avoid double-checks for the stepping mixer loops
2015-09-30 17:25:28 -07:00
Chris Robinson
b68fbe3628
Replace separate vaddq_f32/vmulq_f32 calls with a vmlaq_f32
2015-09-30 13:34:09 -07:00
Chris Robinson
6d53ffdbf3
Remove the --make-tab option from makehrtf
...
We haven't used a built-in HRTF table for a while now.
2015-09-29 23:09:45 -07:00
Chris Robinson
dc10e56bab
Implement a 6-point sinc-lanczos filter
2015-09-29 20:39:12 -07:00
kcat
e13d553aef
Merge pull request #21 from aaronmjacobs/master
...
Fix resample_fir4 link error
2015-09-29 12:39:48 -07:00
Aaron Jacobs
a7084b1051
Fix resample_fir4 link error
2015-09-29 12:34:03 -07:00
Chris Robinson
8883ce1cef
Only use SDL1 with SDL_sound
2015-09-28 23:29:52 -07:00
Chris Robinson
848a4a0fcc
Auto-replace the "cubic" resampler with "sinc4"
2015-09-28 12:59:52 -07:00
Chris Robinson
9992c4da99
Update changelog
2015-09-27 23:57:50 -07:00
Chris Robinson
ab6622a8d6
Replace the cubic resampler with a 4-point sinc/lanczos filter
2015-09-27 23:57:25 -07:00
Chris Robinson
3e60b18989
Don't keep selecting the mixer to use
2015-09-27 20:55:39 -07:00
Chris Robinson
86ff35bf71
Increase the max pitch to 255
...
Note that this is the multiple above the device sample rate, rather than the
source property limit. It could theoretically be increased to 511 by testing
against UINT_MAX instead of INT_MAX, since the increment and positions are
using unsigned integers. I'm just being paranoid about overflows.
2015-09-26 11:18:30 -07:00
Chris Robinson
30d88cf547
Use the macros to allocate the wrapper backends
2015-09-24 15:54:32 -07:00
Chris Robinson
17e2b4b3a5
Remove unneeded clamping
2015-09-24 13:44:28 -07:00
Chris Robinson
d8e2308adb
Loop over the gain values only once
2015-09-24 12:36:02 -07:00
Chris Robinson
83659db996
Return the number of properties written
2015-09-24 10:45:34 -07:00
Chris Robinson
ef43370927
Use a local var instead of multiple double-dereferencing
2015-09-24 10:18:29 -07:00
Chris Robinson
64858e3e94
Fix B-Format HRTF decoding
2015-09-23 16:02:46 -07:00
Chris Robinson
4bdd58bc83
Use N3D scaling instead of FuMa
2015-09-23 15:03:53 -07:00
Chris Robinson
ba43582278
Use a single enum list for source properties
2015-09-22 08:48:26 -07:00
Chris Robinson
07d0bddb4f
Avoid a potential race condition with NewThunkEntry
...
It's possible for another invocation to increase the array size in between the
ReadUnlock and WriteLock calls, causing the 'i' index to refer to a taken
entry.
2015-09-21 13:51:56 -07:00
Chris Robinson
33ac3095dd
Handle up to 6 values with alSourcedvSOFT and alGetSourcefv
2015-09-21 09:43:51 -07:00
Chris Robinson
a774408753
Get rid of ALCdevice_GetLatency
2015-09-21 05:52:01 -07:00
Chris Robinson
5f5eebc4df
Allow the hrtf_tables option to be device-specific
2015-09-20 08:28:34 -07:00