Chris Robinson
325a49975a
Use ALsizei and ALint for sizes and offsets with resamplers and filters
2017-01-16 08:54:30 -08:00
Chris Robinson
cbb796bf31
Use ALsizei for sizes and offsets with the mixer
...
Unsigned 32-bit offsets actually have some potential overhead on 64-bit targets
for pointer/array accesses due to rules on integer wrapping. No idea how much
impact it has in practice, but it's nice to be correct about it.
2017-01-16 08:06:25 -08:00
Chris Robinson
9f23d17333
Use second-order ambisonics for basic HRTF rendering
...
This should improve positional quality for relatively low cost. Full HRTF
rendering still only uses first-order since the only use of the dry buffer
there is for first-order content (B-Format buffers, effects).
2017-01-15 13:57:22 -08:00
Chris Robinson
8e868823fd
Replace range-based for loops with QList iterators
...
Less than ideal, but some targets can't rely on C++11
2017-01-13 00:46:49 -08:00
Chris Robinson
e254a3f0c2
Search for and use Qt5 for alsoft-config
...
An option is provided to instead use Qt4.8 still if desired.
2017-01-12 23:53:27 -08:00
Chris Robinson
6e806848eb
Use C++11 for alsoft-config
2017-01-12 13:38:21 -08:00
Chris Robinson
24de5127b1
Update binary search algorithm for uintmaps
2017-01-12 10:09:39 -08:00
Chris Robinson
58f84170b6
Avoid using some LP types
2017-01-10 05:12:54 -08:00
Chris Robinson
43ab6075f9
Use proper atomics in the OSS backend
2017-01-10 03:17:23 -08:00
Chris Robinson
e20f0ae5a3
Hold Pulse's mainloop lock while calling capture functions
...
Since commit c837484015e, the backend's lock is no longer implicitly held when
calling capture functions. A separate mutex is used to ensure serial access,
and its up to the backend to protect against races and reentrancy with the
audio API.
2017-01-10 03:02:26 -08:00
Chris Robinson
987b6e069b
One more update for the HRTF B-Format coefficients
...
These should better represent the pseudo-inverse matrices with N3D scaling.
2017-01-09 06:36:02 -08:00
Chris Robinson
18bb46163a
Add missing AL_EFFECTSLOT_ properties for al(c)GetEnumValue
2017-01-05 20:06:24 -08:00
Chris Robinson
da4f0c65c3
Update the B-Format HRTF coefficients to use the pseudo-inverse matrix
...
It's hard to tell which is ultimately better, although this way does make the
FOA output somewhat louder which will help when it's combined with direct HRTF
rendering.
2017-01-04 21:53:28 -08:00
Chris Robinson
fcdf1cea70
Avoid writing to the same buffer that's read from
...
Also clean up comment formatting a bit.
2016-12-23 12:37:48 -08:00
Chris Robinson
40f359d159
Rename the version target for systems that have a version lib
2016-12-21 21:56:51 -08:00
Chris Robinson
080b0cea8b
Reorder filter coefficients
2016-12-21 21:35:50 -08:00
Chris Robinson
4c33818dde
Avoid duplicating code using a macro
2016-12-21 19:58:03 -08:00
Chris Robinson
315bd556ac
Convert the SndIO backend to the updated API
2016-12-21 17:28:22 -08:00
Chris Robinson
dedc782222
Avoid duplicate HRTF entries in the UI
...
Similar to how the library handles it, duplicate entries of the same file are
ignored. This could happen if, for example, XDG_DATA_DIRS contains the same
path multiple times.
2016-12-21 12:05:26 -08:00
Chris Robinson
1b104dd77b
More robustly generate the git commit ID and branch
2016-12-21 11:41:45 -08:00
Chris Robinson
e270a9784b
Add missing macros for OSS3/Free compatibility
2016-12-21 10:54:19 -08:00
Chris Robinson
bcb6dfee71
Trace the commit ID and branch the library was built from
2016-12-21 01:12:47 -08:00
Chris Robinson
8f581c0e66
Use separate macros for atomics that don't take a memory order
2016-12-20 20:49:37 -08:00
kcat
19ba71e767
Merge pull request #89 from rdb/patch-1
...
Explicitly disable use of GNU89 inline semantics
2016-12-20 13:43:59 -08:00
rdb
f0c2c23ad1
Explicitly disable use of GNU89 inline semantics
2016-12-20 22:34:00 +01:00
Chris Robinson
70378925b0
Warn when a given device name isn't found for OSS
2016-12-01 18:34:29 -08:00
Chris Robinson
66569295e5
Minor cleanup for ALCossListPopulate
2016-12-01 18:26:18 -08:00
Chris Robinson
338e0d72b4
Ensure OSS devices are enumerated when a name is requested.
2016-12-01 18:11:52 -08:00
Chris Robinson
02a6031d03
Use atomic flags for boolean atomic locks
2016-11-25 23:25:16 -08:00
Chris Robinson
ea82a6d19e
Use a function to generate the up-sampler transcode matrix
2016-11-24 21:29:53 -08:00
Chris Robinson
10473285ba
Fix an infinite loop
2016-11-23 01:32:14 -08:00
Chris Robinson
6886f77cbc
Only send source updates for sources that have updated
2016-11-23 01:31:13 -08:00
Chris Robinson
fcb669f803
Set the windows subsystem for DLLs on MSVC and GCC on Windows
2016-11-22 15:47:46 -08:00
Chris Robinson
49fd154829
Update cmake scripts to handle policy 0054
2016-11-22 14:50:55 -08:00
Chris Robinson
8492c2845d
Avoid some unnecessary seq_cst memory ordering
2016-11-22 03:40:15 -08:00
Chris Robinson
c618971758
Remove the non-atomic COMPARE_EXCHANGE macro
2016-11-22 03:00:16 -08:00
Chris Robinson
01babb69d2
Clean up finding a source's voice
2016-11-22 02:59:54 -08:00
Chris Robinson
616adea4cc
Improve seqlock behavior
2016-11-21 23:58:28 -08:00
Chris Robinson
8bf4fe2eea
Update some atomic memory ordering
2016-11-21 21:38:49 -08:00
Chris Robinson
a502a41be3
Stop using almemory_order_consume
2016-11-17 00:46:46 -08:00
Chris Robinson
caead294f2
Update a function comment about its input
2016-11-16 22:04:16 -08:00
Chris Robinson
b743bc1c1b
Remove the temporary stub files after the output object is made
2016-11-11 13:19:45 -08:00
Chris Robinson
e69af7ab92
Fixes for embedded HRTFs on OSX
...
Use an empty source file to build a stub object file, instead of /dev/null. Use
_mh_dylib_header to retrieve the data on 10.7+, instead of _mh_execute_header.
And shorten the names to fit in the 16-character limit.
Thanks to Anna Cheremnykh for the fixes!
2016-11-11 13:14:02 -08:00
Chris Robinson
9ef7719734
Try to make embedded HRTF data sets work on OSX
2016-11-10 21:51:45 -08:00
Chris Robinson
0532acdf94
Don't use 0 for a resource ID
2016-11-10 12:37:07 -08:00
Chris Robinson
6a91d6a10a
Add support for 8-byte types on inline assembly ATOMIC_ADD/SUB
2016-11-03 23:47:50 -07:00
Chris Robinson
939d16d57c
Include the full JACK ringbuffer size for the device period count
2016-11-03 23:29:33 -07:00
Chris Robinson
acc9f66baf
Clean up some ringbuffer atomic calls
2016-11-03 21:04:24 -07:00
Chris Robinson
82e8dd0525
Fix win32 atomic fallbacks
2016-11-03 15:32:31 -07:00
Chris Robinson
815947492c
Remove the explicit type from ATOMIC_ADD and ATOMIC_SUB
2016-11-03 01:22:29 -07:00