Commit Graph

7010 Commits

Author SHA1 Message Date
Chris Robinson 253773b316 Build Oboe with hidden visibility 2020-04-18 23:03:50 -07:00
Chris Robinson 643b192fd5 Try to be more robust with the Oboe format 2020-04-18 22:43:20 -07:00
Chris Robinson a387a610f8 Add missing backslash 2020-04-18 20:46:20 -07:00
Chris Robinson 0390828de0 Initial implementation for Oboe-based playback 2020-04-18 19:21:13 -07:00
Chris Robinson bd9eae8edd Attempt to build with Oboe on Android with Travis 2020-04-18 19:20:38 -07:00
Chris Robinson 67e54a2669 Add an Oboe backend stub 2020-04-18 15:17:53 -07:00
Chris Robinson a1e5f4eb83 Use cmake --build with Travis to build
Instead of assuming makefiles
2020-04-17 23:33:09 -07:00
Chris Robinson cd87b9c66b Update Travis to use Android NDK r21, API 16 2020-04-17 23:21:04 -07:00
Chris Robinson 93e677edb3 Precalculate some values
MSVC isn't as willing to precompute sqrt and log10 results from known input
values.
2020-04-16 23:17:07 -07:00
Chris Robinson 3824b92704 Simplify some reverb update code 2020-04-16 20:52:20 -07:00
Chris Robinson 27ac637a66 Remove another unnecessary return value 2020-04-16 17:29:32 -07:00
Chris Robinson cf4a848fd0 Remove an always-true return value 2020-04-16 16:00:26 -07:00
Chris Robinson 3cb12da765 Move a type to where it's used 2020-04-16 02:05:07 -07:00
Chris Robinson dc41f276d8 Get rid of the specialized MixRow_ methods 2020-04-16 01:47:33 -07:00
Chris Robinson 5214a7210a Combine multiple target installs 2020-04-15 00:21:36 -07:00
Chris Robinson 3a5a9e90d0 Fix installing alsoft-config 2020-04-15 00:09:45 -07:00
Chris Robinson 8ef8b5e215 Combine utility target installs 2020-04-14 23:37:48 -07:00
Chris Robinson cd6908fd19 Always define install targets for the main library
Examples and utilities now have separate install options.
2020-04-14 23:25:47 -07:00
Chris Robinson 930cda39cd Simplify some indentation 2020-04-14 22:02:59 -07:00
Chris Robinson ac54ab8a3e Remove some unnecessary cmake checks 2020-04-14 18:25:22 -07:00
Chris Robinson 78e789bf7b Silence a type conversion warning with GCC 2020-04-14 12:05:54 -07:00
Chris Robinson 6ac5816354 Avoid inlining some potentially costly calls 2020-04-14 11:50:59 -07:00
Chris Robinson 7f81eec1a6 Avoid a function call to get the frame step 2020-04-13 23:36:05 -07:00
Chris Robinson 02d7fbfa0c Use standard attribute declarations 2020-04-13 23:27:56 -07:00
Chris Robinson 1d8ac4d61f Throw exceptions for errors in the effect getters/setters 2020-04-10 20:23:20 -07:00
Chris Robinson 13153bab60 Add an effect_exception for handling effect properties 2020-04-10 18:26:08 -07:00
Chris Robinson f7380a44d4 Use a common base for a couple exceptions 2020-04-10 15:12:57 -07:00
Chris Robinson 611a0155cd Ignore "attribute '...' is not recognized" MSVC warning 2020-04-10 15:12:57 -07:00
kcat fc140db781 Merge pull request #414 from ArthurSonzogni/master
Add missing <cstdarg>
2020-04-10 15:01:38 -07:00
ArthurSonzogni 7548c235bd Add missing <cstdarg>
OpenAL-Soft fails to compile on some GCC version:
https://travis-ci.com/github/ArthurSonzogni/smk/jobs/318304162

It has regressed likely after:
https://github.com/kcat/openal-soft/commit/c83609277bed4be4ef40ed306bf2c57fefa19519

va_start is defined in:
- <stdarg.h>
- <cstdarg>

The repository is using it from:
- al/error.cpp
- al/filter.cpp
- alc/alu.cpp
- alc/helpers.cpp
- common/alexcpt.cpp
- utils/makemhr/loaddef.cpp
- utils/openal-info.c

This patch is adding its definition in the files missing it:
- common/alexcpt.cpp
- utils/makemhr/loaddef.cpp
- utils/openal-info.c

Bug: https://travis-ci.com/github/ArthurSonzogni/smk/jobs/318304162
2020-04-10 23:36:19 +02:00
Chris Robinson e123fa0ec3 Apply some alloc and alignment attributes 2020-04-10 11:05:25 -07:00
Chris Robinson 8bddf3e6ab Report invalid filter values 2020-04-10 09:16:08 -07:00
Chris Robinson 8713bb8afb Add missing include 2020-04-10 09:04:40 -07:00
Chris Robinson ae173ba863 Remove an unused cmake variable 2020-04-10 08:59:22 -07:00
Chris Robinson 0dc9b0392d Apply static-link flags directly to the target 2020-04-10 08:43:59 -07:00
Chris Robinson 35a2b0e5f8 Simplify generating chorus delays a bit 2020-04-09 21:00:37 -07:00
Chris Robinson c83609277b Use exceptions for filter errors 2020-04-09 19:36:37 -07:00
Chris Robinson 97c11577cd Make a default/empty constructor noexcept 2020-04-09 19:32:02 -07:00
Chris Robinson d67cba99bd Clean up some more unnecessary uses of AL types 2020-04-08 10:15:43 -07:00
Chris Robinson 8a5153ce0d Avoid ALfloat and ALint in the effects 2020-04-08 07:28:07 -07:00
Chris Robinson 55539787fb Avoid ALfloat in some places 2020-04-08 06:17:04 -07:00
Chris Robinson 024112a53a Use acquire-release semantics for changing deferred updates 2020-04-07 12:46:35 -07:00
Chris Robinson 0077a01667 Don't yield the CPU when waiting for updates to finish 2020-04-07 12:36:44 -07:00
Chris Robinson f628ab2151 Use better values for a couple in-progress enums 2020-04-07 12:24:20 -07:00
Chris Robinson efed431237 Use a unique_ptr for constructing the bsinc table coefficients 2020-04-07 08:30:37 -07:00
Chris Robinson 2fcc3f3887 Dynamically allocate the temporary bsinc filter table 2020-04-06 17:12:39 -07:00
Chris Robinson 7a324231a3 Combine the late reverb feedback and modulator delay lines 2020-04-06 16:14:13 -07:00
Chris Robinson 6ff5339112 Include the average modulation delay for the late reverb feedback 2020-04-06 15:46:14 -07:00
Chris Robinson baf14aad2a Pass the BSincHeader by reference instead of value 2020-04-05 23:08:02 -07:00
Chris Robinson ab6afd6fa0 Reimplement the modulation stage for reverb
This seems to be quite close recordings from real hardware, so it's probably
good enough.
2020-04-05 12:00:45 -07:00