Commit Graph

6428 Commits

Author SHA1 Message Date
Raulshc 550f1dce1f Move double2int function
Move inline double2int function to alnumeric.h from pshifter.cpp
2019-08-18 19:12:38 +02:00
Chris Robinson ff66061091 Reduce the size of reverb's temporary buffer storage
The size of ReverbState is now almost half of what it was.
2019-08-18 03:19:19 -07:00
Chris Robinson 16886bd259 Avoid an out parameter for VectorPartialScatter 2019-08-17 23:00:46 -07:00
Chris Robinson ddf7e0f07c Use a std::array for the reverb sample buffer 2019-08-17 21:23:30 -07:00
Chris Robinson 351ccf2e11 Use new/delete for context and effectslot properties 2019-08-13 22:25:59 -07:00
Chris Robinson ecab99bce9 Move update pointers to the containers they update 2019-08-13 22:06:14 -07:00
Chris Robinson 0806a003e2 Use new/delete for listener properties 2019-08-13 20:33:44 -07:00
Chris Robinson 91ff01d1ad Don't explicitly inline a particular function 2019-08-13 20:33:26 -07:00
Chris Robinson bc9f39b5ac Environment variables should override config settings 2019-08-12 17:10:04 -07:00
Chris Robinson 38a565bdf8 Move UID definitions to a separate source 2019-08-12 14:56:17 -07:00
Chris Robinson dff906c13b Remove always-true assumption 2019-08-12 14:32:04 -07:00
Chris Robinson 81d17bb80f Fix some return types 2019-08-12 14:30:47 -07:00
Chris Robinson 1aaf65abfe Add methods to get env vars as an optional 2019-08-12 03:59:52 -07:00
Chris Robinson 50d16d2422 Don't use INT_MAX for unknown span lengths
32-bit doesn't like it, for some reason. Use the largest possible length it
could be.
2019-08-11 22:48:18 -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 7118733458 Remove multiple buffers per queue item
And simplify related code
2019-08-11 14:01:57 -07:00
Chris Robinson 70058a8a84 Move the dynload decls and defs to common 2019-08-10 21:54:30 -07:00
Chris Robinson dca2365051 Fix array access index 2019-08-10 20:31:08 -07:00
Chris Robinson e3f5bd37e6 Avoid __popcnt[64] on MSVC
It requires SSE4, and provides no fallback mechanism for CPU targets lacking
the opcode it maps to.
2019-08-10 16:35:29 -07:00
Chris Robinson 98029d64b9 Fix and clarify the peaking biquad filter 2019-08-10 14:41:55 -07:00
kcat 8f93656f53 Merge pull request #323 from Raulshc/vmorpher_decls
Add parameter DECLs for vocal morpher
2019-08-10 14:41:25 -07:00
Raulshc c4f1c95a45 Add parameter DECLs for vocal morpher 2019-08-10 18:42:02 +02:00
kcat 926b515edf Merge pull request #322 from gongminmin/SDK1903
Enable to detect Windows SDK v1903
2019-08-10 03:18:01 -07:00
Minmin Gong becd1cf1bd Enable to detect Windows SDK v1903 2019-08-09 23:04:37 -07:00
Chris Robinson f900efa7f2 Simplify and fix vocal morpher pitch calculations 2019-08-08 15:22:22 -07:00
Chris Robinson fb1fde9fb0 Simplify the weighted decay time calculation 2019-08-08 12:44:53 -07:00
Chris Robinson a4391a213d Turn a couple methods into member functions 2019-08-08 12:40:34 -07:00
Chris Robinson e22dc27218 Improve log formatting for file searches 2019-08-07 15:56:38 -07:00
Chris Robinson 0eb5e80f67 Don't store options that are set to blank/default 2019-08-07 15:43:37 -07:00
Chris Robinson 5b33b4aa97 Make the post-process methods member functions 2019-08-07 11:43:53 -07:00
Chris Robinson 7c069e29ee Update some more includes 2019-08-06 23:13:05 -07:00
kcat 50c59dab8f Merge pull request #321 from Frozen-Tofu/master
no AudioObjectPropertyAddress  on iOS
2019-08-06 23:11:55 -07:00
Li Keqing ad059fb62e no AudioObjectPropertyAddress on iOS 2019-08-07 13:29:26 +08:00
Chris Robinson 80a85febcf Update some includes 2019-08-05 18:36:39 -07:00
Chris Robinson d06afa7ca1 Move a struct definition to where it's used 2019-08-05 15:11:47 -07:00
Chris Robinson e286ec8d09 Move some declarations out of alcmain.h 2019-08-05 15:03:18 -07:00
Chris Robinson d24401c3f3 Move the meters per unit property to the listener 2019-08-05 12:15:14 -07:00
Chris Robinson 3154a915b1 Remove the ReverbSpeedOfSound hack
No other effect depends on context or listener properties, so reverb being the
only exception for speed of sound and meters per unit was putting extra work on
the effect engine for no real reason. Especially since the reverb decay time
should be the time actual time to decay irrespective of other settings.
2019-08-05 11:37:05 -07:00
Chris Robinson 3bc9490fd2 Move some structs to where they're used 2019-08-04 17:45:46 -07:00
Chris Robinson 082622951d Don't allow numeric values for the resampler option 2019-08-04 17:29:55 -07:00
Chris Robinson 2fa2c35bdc Modify LIKELY and UNLIKELY to not need extra parenthesis 2019-08-04 11:59:14 -07:00
Chris Robinson 7897de31d0 Pass spans to the source get-property methods 2019-08-03 19:36:19 -07:00
Chris Robinson 7baa07e3ad Pass spans to the source set-property methods
This avoids an extra property check to get the size since the number of values
can be checked when accessed.
2019-08-03 18:57:38 -07:00
Chris Robinson 559d1666b8 Add a Create method to FlexArray for "raw" arrays 2019-08-03 14:59:01 -07:00
Chris Robinson 13222d719d Make a couple counts size_t 2019-08-03 13:05:42 -07:00
Chris Robinson 3417436804 Avoid manually incrementing a reference count 2019-08-03 12:14:50 -07:00
Chris Robinson a7a9c00275 Turn a couple more functions into methods 2019-08-02 18:30:22 -07:00
Chris Robinson 9f223898f2 Use an unsigned voice index 2019-08-02 12:38:20 -07:00
Chris Robinson ce7c86b217 Avoid reloading the voices array when processing 2019-08-02 11:07:48 -07:00