645 Commits

Author SHA1 Message Date
Chris Robinson
38a565bdf8 Move UID definitions to a separate source 2019-08-12 14:56:17 -07:00
Chris Robinson
1aaf65abfe Add methods to get env vars as an optional 2019-08-12 03:59:52 -07:00
Chris Robinson
f290bf2751 Move vector.h to common 2019-08-11 20:54:21 -07:00
Chris Robinson
e200569cd3 Move the wstr converters to a separate header 2019-08-11 18:50:07 -07:00
Chris Robinson
70058a8a84 Move the dynload decls and defs to common 2019-08-10 21:54:30 -07:00
Chris Robinson
e286ec8d09 Move some declarations out of alcmain.h 2019-08-05 15:03:18 -07:00
Chris Robinson
65f7fc610e Add a common base for auto-deleting ref-counted objects
Which will also work as the basis for a future intrusive_ptr
2019-08-01 13:43:32 -07:00
Chris Robinson
f286c3fa38 Move another function to a ALCcontext method 2019-07-30 21:32:05 -07:00
Chris Robinson
4c9e18c5a0 Rename al/* sources to avoid camel-case 2019-07-29 17:54:07 -07:00
Chris Robinson
76d87330ec Move the event declarations to a separate header 2019-07-29 15:58:26 -07:00
Chris Robinson
0a26bab14e Rename the OpenAL32 directory to al 2019-07-29 15:40:17 -07:00
Chris Robinson
8ccb7604d3 Remove some unnecessary cmake checks 2019-07-29 13:46:25 -07:00
Chris Robinson
83432a7e5c Move some headers out of the Include subdirectory 2019-07-28 19:09:07 -07:00
Chris Robinson
cb3e96e756 Rename Alc to alc 2019-07-28 18:56:04 -07:00
Chris Robinson
93e60919c8 Rename alMain.h to alcmain.h
And move it and alu.h to Alc/.
2019-07-28 18:33:29 -07:00
Chris Robinson
bb0062625f Move the ADPCM decoders to alBuffer.cpp 2019-07-28 17:22:00 -07:00
Chris Robinson
c8bbd75bf9 Remove a couple more cmake checks 2019-07-28 15:37:12 -07:00
Chris Robinson
12e179d539 Remove some unnecessary header checks 2019-07-28 15:22:58 -07:00
Chris Robinson
659b6d4245 Use more proper cmake to set the C/C++ standard version 2019-07-27 18:58:19 -07:00
Chris Robinson
7cfb353334 Don't explicitly check for standard functions 2019-07-26 14:02:14 -07:00
Chris Robinson
99b55bc230 Add the Windows SDK for the winmm library path 2019-07-10 20:06:50 -07:00
Chris Robinson
e2f2b74d6a Get rid of the custom CHECK_SHARED_FUNCTION_EXISTS function 2019-07-10 19:32:26 -07:00
Chris Robinson
ac28b7d0f2 Use a find module for OpenSL 2019-07-10 18:54:43 -07:00
Lopuska
4a33bbb14d vocal morpher implementation (#312)
* vocal morpher implementation

* compile fix for GCC
2019-07-09 22:14:31 -07:00
Philip Muzzall
7affe3d78d Added rc scripts for dll (#306)
* Added rc scripts for dll

* Reverted numbering scheme in CMakeLists
2019-06-30 22:01:04 -07:00
Chris Robinson
689f70ce6d Add a simple optional<> implementation 2019-06-30 16:40:08 -07:00
Chris Robinson
7537bb3492 Don't warn about standard functions with MSVC 2019-06-06 15:57:15 -07:00
Chris Robinson
56faf66887 Disable MSVC warning 4200 again 2019-06-06 03:32:28 -07:00
Chris Robinson
a7be531049 Remove the unused ALIGN macro 2019-06-06 00:24:13 -07:00
Chris Robinson
d9d9e70ed8 Don't disable some MSVC warnings 2019-06-06 00:18:25 -07:00
Chris Robinson
8c4a9a5a32 Properly search for prebuilt native-tools 2019-06-01 11:21:43 -07:00
Chris Robinson
1945b50834 Add a unique byte type for dealing with raw bytes 2019-05-24 06:11:21 -07:00
Chris Robinson
a4af617532 Add a span class to act as a view to contiguous data 2019-05-23 08:15:02 -07:00
Chris Robinson
5ff8d5ae32 Add an exception class to cover backend creation and opening 2019-05-04 18:03:25 -07:00
Chris Robinson
85439cbd87 Add some missing include directories 2019-04-29 20:03:51 -07:00
ArthurSonzogni
2eb657f2df CMAKE: export PUBLIC headers of OpenAL.
Remove the cmake function:
  INCLUDE_DIRECTORIES(..)
Replace it by:
  TARGET_INCLUDE_DIRECTORIES(...)

It gives us the opportunity to define whether or not OpenAL dependencies
should be exported or not (using PUBLIC or PRIVATE keywoard).

[user visible changes]
The OpenAL PUBLIC headers are exported. When a target depends on OpenAL,
it will have access to its public headers.

Some small refactor along the way.
2019-04-30 04:17:43 +02:00
Chris Robinson
460a01443c Add macros to stop exceptions from leaving API functions
Effectively makes the functions act as noexcept, since there's no meaningful
reason to propogate exceptions from "C" functions. Currently only applied to
ALC functions, but can incrementally be applied to AL functions too. In the
future, this could also handle ALC and AL errors with unique exception types
(functions that utilize this behavior would need to ensure proper cleanup).
2019-04-09 20:48:01 -07:00
Chris Robinson
f392d9c138 Move makemhr's .def loading code to a separate source 2019-03-24 19:00:58 -07:00
Chris Robinson
7c16b1e02f Rename makehrtf to makemhr and move it to a subdirectory 2019-03-24 17:31:10 -07:00
Chris Robinson
e7e585f65c Use the effect state factory to set the default effect props 2019-03-22 15:00:37 -07:00
Chris Robinson
73a43fb19c Don't bother trying _controlfp or __control87_2 2019-03-18 20:27:25 -07:00
Chris Robinson
6a0b2ed0ca Check compile-time support for SSE intrinsics 2019-03-18 20:05:15 -07:00
Chris Robinson
821c7565cf Don't bother checking for SSE1 alone
SSE2 support is now the minimum required for SSE. Run-time can still disable
SSE2-specific functions separately from SSE1, but build-time support can't be
separated.
2019-03-18 17:38:02 -07:00
Chris Robinson
e61cec8f17 Don't bother checking for C99 inline semantics
Should be unneeded with C++
2019-03-18 14:31:12 -07:00
Chris Robinson
2fc8461c14 Don't check for __int64 2019-02-11 11:44:35 -08:00
Chris Robinson
995c9649cb Move some number-related stuff to a separate header 2019-02-11 11:07:06 -08:00
Chris Robinson
ebb46cf4cf Rename a header
To workaround an apparent MSVC error
2019-01-23 15:09:11 -08:00
Chris Robinson
ce3acf4d1b Make hrtf_inc.cpp a proper header 2019-01-23 12:33:18 -08:00
Chris Robinson
3ab4bc5186 Don't install utilities that aren't built 2019-01-22 17:34:45 -08:00
Chris Robinson
5c0dcd1f24 Fix building makehrtf and sofa-info on Windows 2019-01-22 13:17:21 -08:00