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
Chris Robinson
46bbf95bae
Disable mmdevapi capture and update changelog
...
Unfortunately mmdevapi does not do channel remixing or resampling, even for
capture, so the device can only be opened in the mode it's configured for.
For now, fallback to dsound or winmm to get the conversion until we can do it
ourselves.
2015-09-18 03:19:16 -07:00
Chris Robinson
db0f29f6d8
Fix updating listener params when forcing updates
2015-09-18 00:48:43 -07:00
Chris Robinson
2f1bfb5945
Add missing enum values
...
Spotted by Xavier Bouchoux.
2015-09-17 04:01:46 -07:00
Chris Robinson
4570345534
Return the data file handle on Windows if it was opened
2015-09-16 18:20:28 -07:00
Chris Robinson
3c72865775
Use sizeof T for the size of the object type
2015-09-15 19:23:32 -07:00
Chris Robinson
b348abf5c3
Rename F_2PI to F_TAU
2015-09-13 08:46:48 -07:00
Chris Robinson
2763f4096c
Update properties and clear wet buffers before mixing/processing
2015-09-13 06:51:55 -07:00
Chris Robinson
87f3babe2c
Append "on OpenAL Soft" to mmdevapi, dsound, and winmm device names
...
Would be nicer to have a more backend-agnostic method of doing this, Perhaps
even also only when the router is being used.
2015-09-10 22:15:40 -07:00
Chris Robinson
9469c4c79b
Slight changelog update
2015-09-08 15:12:13 -07:00
Chris Robinson
483352f32b
Set both BS2B parameters at once
2015-09-08 15:04:42 -07:00
Chris Robinson
475a566e35
Play a 1khz sine wave for 4 seconds in the loopback example
2015-09-07 21:17:26 -07:00
Chris Robinson
d240077bc5
Explicitly convert to int in the aluF2I/S/B functions
2015-09-07 03:27:25 -07:00
Chris Robinson
5d8a1c11b5
Avoid setting an HRTF-compatible format when it's disabled
2015-09-05 14:33:21 -07:00
Chris Robinson
365a010732
Don't store the HRTF request mode in the device flags
2015-09-05 01:32:12 -07:00
Chris Robinson
804909e1d7
Set a proper HRTF status when non-stereo output is used
2015-09-05 00:42:44 -07:00
Chris Robinson
d6290482cc
Add word wrapping to the changelog
2015-09-05 00:07:05 -07:00
Chris Robinson
703f1fdec2
Specify the pa_channel_map directly instead of through a string
2015-09-04 23:59:24 -07:00
Chris Robinson
28a516e8a5
Change the hrtf config option to expect auto/true/false instead of a bool
2015-09-04 20:16:48 -07:00
Chris Robinson
6fc567f1ab
Reorganize some HRTF config options
2015-09-04 17:06:23 -07:00
Chris Robinson
0eb83fe462
Make option and block names case-sensitive
...
This is to avoid any issues with device names that can be case-sensitive, and
strcasecmp not working properly for non-ASCII-7 uppercase characters.
2015-09-04 16:09:09 -07:00
Chris Robinson
5f40daabc2
Reverse the device and block names for device-specific options
2015-09-04 15:47:48 -07:00
Chris Robinson
30398083f4
Update the changelog for initial 1.17 changes
2015-09-04 14:53:38 -07:00
Chris Robinson
9d6bb05ac6
Reposition the JACK backend entry
2015-09-04 14:52:23 -07:00
Chris Robinson
ce487d1e43
Use the correct device name for PulseAudio too
...
Like mmdevapi. duplicate device names will have a '#2 ' or such appended, so the
device's reported name may be incorrect.
2015-09-03 14:59:59 -07:00
Chris Robinson
23729c2083
Replace another vector loop with VECTOR_FIND_IF
2015-09-03 14:53:46 -07:00
Chris Robinson
87e4ec6620
Use the correct device name when opening a device by name
...
Duplicate device names will have a '#2 ' or such appended, so the device's
reported name may be incorrect.
2015-09-03 11:56:46 -07:00
Chris Robinson
7b4f1cfb4a
Handle the stereo-mode config option with alsoft-config
2015-08-28 22:09:07 -07:00
Chris Robinson
2cb974df40
Document the bformat config option
2015-08-28 15:53:17 -07:00
Chris Robinson
70c63dd576
Allow '#' in config block names
...
Since some devices may have it appended.
2015-08-28 14:59:45 -07:00
Chris Robinson
8fe421cba1
Document device-specific config options
2015-08-28 14:48:33 -07:00
Chris Robinson
e5fa4ee25d
Allow for device-specific config values
2015-08-28 14:10:39 -07:00
Chris Robinson
bbc16e2c15
Use ACN ordering for ambisonics coefficients arrays
...
Note that it still uses FuMa scalings internally. Coefficients loaded from
config files specify if they're FuMa (in both ordering and scaling) or N3D,
and will get reordered or rescaled as needed.
2015-08-28 10:58:30 -07:00