Chris Robinson
4a712dc612
Remove some unnecessary config options
2014-09-08 15:29:07 -07:00
Chris Robinson
7a31847f7d
Use a vector instead of a manual dynamic array
2014-09-08 15:24:27 -07:00
Chris Robinson
5ff1730e02
Don't modify a capture device's format
...
OpenAL's capture API guarantees the application gets the format requested, or
else the device will fail to open. The only valid change is that the capture
buffer can be larger than requested.
2014-09-08 14:29:59 -07:00
Chris Robinson
a234fc11e5
Remove the GetLatency method from the old BackendFuncs
2014-09-08 06:59:58 -07:00
Chris Robinson
9dacd89a02
Convert the winmm backend to the new backend API
2014-09-08 06:46:20 -07:00
Chris Robinson
2be33d8a77
Only pass nano seconds to al_nssleep
2014-09-08 04:37:52 -07:00
Chris Robinson
f38e88bc29
Allow optional memory ordering to atomic methods
...
Currently only C11 atomics make use of the memory order. If not
specified, it defaults to almemory_order_seq_cst.
2014-09-07 00:42:50 -07:00
Chris Robinson
4d19d4f416
Check that atomic_load works with a const _Atomic
...
The original C11 spec does not allow atomic_load to work on const _Atomic
variables, which we sometimes do in alGet* methods, despite the fact that it
does not modify the variable. An update to the C spec corrects this oversight,
and GCC 4.9 has allowed it anyway, while Clang 3.4 does not.
2014-09-05 17:47:32 -07:00
Chris Robinson
ab829fd906
Fix the __get_cpuid cmake check
2014-09-05 02:57:24 -07:00
Chris Robinson
0b250b246d
Use a standard pointer-sized integer type
2014-09-04 23:23:48 -07:00
Chris Robinson
4b53d0e90c
Make ExchangeInt and ExchangePtr non-atomic
2014-09-03 17:37:07 -07:00
Chris Robinson
2f2768e7c3
Make the fontsound's buffer and link fields atomic
2014-09-03 16:29:17 -07:00
Chris Robinson
30e01a7dba
Protect alProcessUpdatesSOFT with a lock
2014-09-03 16:02:00 -07:00
Chris Robinson
7f5497b863
Use proper atomics for the thunk array
2014-09-03 15:49:31 -07:00
Chris Robinson
5840f5e76f
Make the buffer's pack and unpack properties atomic
2014-09-03 15:40:15 -07:00
Chris Robinson
ba827cdfff
Fix Neon mixer definition
2014-08-31 23:46:43 -07:00
Chris Robinson
705c60d924
Use al_calloc/al_free to allocate contexts and voices
2014-08-30 20:59:46 -07:00
Chris Robinson
f04b15692e
Setup the HRTF format before tracing the pre-reset format
2014-08-29 19:34:20 -07:00
Chris Robinson
f18d2f2445
Check mmdevapi device ids to match the default device
...
Seems Windows can return different IMMDevice object pointers for the same
endpoint.
2014-08-28 18:22:17 -07:00
Chris Robinson
2b87ffece5
Return the correct default capture device name
2014-08-26 14:52:36 -07:00
Chris Robinson
368bf037dd
Check the given CoreAudio capture device name
2014-08-26 14:50:14 -07:00
Chris Robinson
99b71278db
Remove a couple unnecessary typedefs
2014-08-24 23:48:42 -07:00
Chris Robinson
a3bba200c0
Convert the wave writer backend to the new API
2014-08-24 22:20:02 -07:00
Chris Robinson
4f7b3f0c38
Use al_malloc/al_free for default allocators
2014-08-24 20:16:28 -07:00
Chris Robinson
0d0222e91b
Include the common sources when building statically
2014-08-23 13:37:14 -07:00
Chris Robinson
259e265920
Rename activesource to voice
2014-08-21 03:41:13 -07:00
Chris Robinson
65d2e0eb8d
Use an array of objects for active sources instead of pointers
2014-08-21 02:27:56 -07:00
Chris Robinson
b92e643e97
Use a NULL source for inactive activesources
...
Also only access the activesource's source field once per update.
2014-08-21 00:29:42 -07:00
Chris Robinson
3a6baab495
Use the current binary dir for shared function checks too
2014-08-20 13:47:56 -07:00
Jesper Särnesjö
ba9995a8de
Use directories relative to current project in CheckFileOffsetBits.cmake
...
Enables building OpenAL Soft in a subdirectory of another project.
2014-08-20 13:31:24 -07:00
Chris Robinson
e3d72ccd15
Support brace-enclosed environment variable names
...
This makes it possible to append alpha-numeric characters directly to an
environment variable value, e.g. ${FOO}bar will use "FOO" as the variable name
and keep the "bar" as-is, whereas $FOObar will take "FOObar" as the variable
name.
2014-08-19 16:54:53 -07:00
François Cami
3c13e1e333
Update COPYING to the latest https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source
2014-08-18 11:34:29 -07:00
Chris Robinson
864528bb7b
Use the POSITION_INDEPENDENT_CODE target property when available
2014-08-16 20:46:55 -07:00
Chris Robinson
4a7e04add3
Don't force specific compile flags for the different build types
2014-08-16 19:57:56 -07:00
Chris Robinson
8630e8c7fc
Don't try to include stdalign.h if C11 _Alignas isn't available
...
Some compilers will allow including stdalign.h, and even define alignas to
_Alignas, even if that C11 feature is unavailable (e.g. because it requires a
suitable -std= setting).
2014-08-16 10:17:30 -07:00
Chris Robinson
dd1df64537
Search for the correct include and lib directories for the DX SDK
...
And only set them when needed.
2014-08-15 14:26:06 -07:00
Chris Robinson
d60ce35846
Add a changelog, detailing notable changes for each release
2014-08-15 00:06:59 -07:00
Chris Robinson
b907c21f48
Release 1.16.0
2014-08-14 17:30:11 -07:00
Chris Robinson
8364aa5f6f
ALC_SOFT_pause_device is finished
2014-08-12 08:45:11 -07:00
Chris Robinson
ba3f1e7468
Assume SSE is available if building with support and no run-time checking
2014-08-11 14:45:28 -07:00
Chris Robinson
74c8de6372
Try the __cpuid intrinsic if GCC's __get_cpuid isn't available
2014-08-11 14:19:15 -07:00
Chris Robinson
e3ee534c39
Check for GCC's __get_cpuid before using it
2014-08-11 13:38:43 -07:00
Chris Robinson
8ecbeb4945
Only support dsound and mmdevapi on Windows
2014-08-11 09:13:08 -07:00
Chris Robinson
960cdec0b5
Remove a couple unnecessary HAVE_*_H header defines
...
The xmmintrin.h and arm_neon.h headers are always available with SSE and Neon
support, respectively.
2014-08-11 09:09:00 -07:00
Chris Robinson
4a9545affa
Don't try to generate .def or .lib files when building statically
2014-08-10 19:48:53 -07:00
Chris Robinson
6273a18de5
Add an option to build an import .lib with dlltool on mingw
...
Also make sure the ordinals are stripped from the .def file (using sed), so
that the generated .lib will link apps to the DLL using function names instead
of ordinals.
2014-08-10 19:40:29 -07:00
Chris Robinson
a3c236598a
Simplify some vector size range checks
2014-08-10 10:52:08 -07:00
Chris Robinson
936a79da7d
Give NULL for null-vector iterators
2014-08-10 09:12:08 -07:00
Chris Robinson
94013216b6
Pass pointer-to-vector types as char* instead of void*
...
C aliasing rules only allow char* to alias an otherwise-incompatible type,
rather than void*.
2014-08-10 08:46:55 -07:00
Chris Robinson
22856844c6
Properly set FluidSynth's include dir for older cmake versions
2014-08-10 05:50:19 -07:00