Chris Robinson
e5c9643dd5
Combine two functions into one
2019-09-05 15:08:22 -07:00
Chris Robinson
97c043da07
Don't set voice properties in ApplyOffset
2019-09-05 04:00:49 -07:00
Chris Robinson
ef2769af03
Use a normal vector for the voices array
2019-09-04 23:04:55 -07:00
Chris Robinson
c47a6d2279
Increment the mix count during disconnect
...
So attempts to get the current playback offset behave correctly while
disconnecting.
2019-09-04 20:31:55 -07:00
Chris Robinson
e873165019
Only ASSUME values where a variable is used
2019-09-04 19:31:30 -07:00
Chris Robinson
8940bbd034
Only use one accumulation buffer for B-Format HRTF mixing
...
It's all getting added together anyway and all channels are continuous inputs,
so this is fewer passes over various buffers.
2019-09-03 23:19:24 -07:00
Chris Robinson
e1ee1bcde9
Clean up some formatting
2019-09-03 21:34:58 -07:00
Chris Robinson
3d7ce5a860
Use global placement new for AL object batches
2019-09-01 18:07:16 -07:00
Chris Robinson
bb35e24c9b
Avoid unnecessary placement new definitions
2019-09-01 17:54:17 -07:00
Chris Robinson
727217ce0a
Ensure AL_STOPPED state change events are sent
...
With explicit calls to alSourceStop on a playing or paused source
2019-09-01 15:28:33 -07:00
Chris Robinson
d15950f383
Avoid accumulating a temporary
2019-09-01 15:03:22 -07:00
Chris Robinson
aee10ef606
Hold the source lock in UpdateAllSourceProps
2019-09-01 00:29:26 -07:00
Chris Robinson
a15f25b07a
Return a QString from GetVersionString
2019-08-31 22:28:26 -07:00
Chris Robinson
5becf4bb73
Don't include version.h in mainwindow.cpp
...
Should help with post-commit compile times
2019-08-31 21:47:58 -07:00
Chris Robinson
96af306b3c
Update the language for travis
2019-08-31 20:24:34 -07:00
Chris Robinson
3973334a64
Store the voice fraction offset as unsigned
2019-08-31 15:49:34 -07:00
Chris Robinson
a546343148
Make MixVoice a member function
2019-08-31 14:53:28 -07:00
Chris Robinson
5b6772440a
Remove a couple unnecessary variables
2019-08-27 12:31:19 -07:00
Chris Robinson
3223b6a906
Update mainwindow.cpp
...
Use the less-error-prone pointer-to-member syntax for connect calls, and use
uniform initialization more often.
2019-08-26 19:13:31 -07:00
Chris Robinson
b5a6dcc14f
Remove some unnecessary local spans
2019-08-26 11:02:09 -07:00
Chris Robinson
7dbf69afa2
Use a span for effect state input
2019-08-26 09:16:20 -07:00
Chris Robinson
12e6dc0cce
Fix a function's sample count type
2019-08-25 21:30:32 -07:00
Chris Robinson
4e72d7b3ec
Use al::byte for a couple more buffers
2019-08-25 18:09:14 -07:00
Chris Robinson
164626a7be
Pass unsigned sample count to aluMixData
2019-08-25 17:54:36 -07:00
Chris Robinson
b93098f7df
Use unsigned sample counts for the compressor/limiter
2019-08-25 17:24:53 -07:00
Chris Robinson
88a8bf903b
Use size_t for the post-process sample length
2019-08-25 15:36:40 -07:00
Chris Robinson
e165cae3cd
Fade reverb over the whole update
...
Since the early and late panning gains fade over the course of the update, it
should match the fading done by the feedback loops to avoid percussive "blasts"
when transitioning to a long-decay low-gain environment from a short-decay
high-gain environment.
2019-08-24 16:25:56 -07:00
Chris Robinson
02d38091c8
Make a couple functions into member functions
2019-08-23 15:34:45 -07:00
Chris Robinson
b7ab8b6896
Fix a variable declaration
2019-08-22 18:53:09 -07:00
Chris Robinson
7ad2ed965c
Avoid reading from pointers to __m128 values
2019-08-21 07:43:28 -07:00
Chris Robinson
024d5d900a
Dereference the correct buffer when destructing a source
2019-08-21 03:00:19 -07:00
Chris Robinson
bb46cec0b1
Pass samplesToDo as size_t to effects
2019-08-20 14:30:04 -07:00
Chris Robinson
3e499e70fd
Try to improve non-dynamic-extent span construction
2019-08-20 12:31:46 -07:00
Chris Robinson
3a6676b61e
Fix NEON store call
2019-08-20 12:19:38 -07:00
Chris Robinson
80710c146a
Use size_t for the mixers' fade counter and outpos
2019-08-20 12:00:24 -07:00
Chris Robinson
3fa83547e9
Use size_t for HrtfMixer functions' buffer size
2019-08-20 11:39:39 -07:00
Chris Robinson
a19f65f2c8
Use size_t for reverb offsets and masks
2019-08-20 11:13:19 -07:00
Chris Robinson
9e326846f6
Simplify passing some span parameters
2019-08-20 10:36:17 -07:00
Chris Robinson
a3a295f6dc
Try to fix span construction for MSVC
2019-08-20 09:31:08 -07:00
Chris Robinson
a7f078927d
Fix MixRow definition for NEON
2019-08-20 09:20:18 -07:00
Chris Robinson
0961f4eb00
Pass a span to the Resample function
2019-08-20 08:46:12 -07:00
Chris Robinson
ce76cc1441
Use unsigned for the sample and channel converters
2019-08-20 07:57:37 -07:00
Chris Robinson
2ab52968f4
Track the MixVoice sample count and fade counter as unsigned
2019-08-20 06:03:31 -07:00
Chris Robinson
7a8f81259c
Use size_t for the NFC and biquad filters' sample count
2019-08-20 05:26:51 -07:00
Chris Robinson
102ef6cb33
Pass a span for the Mix function's input
2019-08-20 04:16:44 -07:00
Chris Robinson
4883091f5d
Rename the Mix function input for clarity
2019-08-20 01:24:02 -07:00
Chris Robinson
8fd90334a1
Pass the MixRow buffer size as a span
2019-08-20 00:27:28 -07:00
Chris Robinson
34a61122f6
Change NUM_LINES to a size_t for MSVC
2019-08-19 09:49:01 -07:00
Chris Robinson
34331c0dfa
Fix for GCC5 decaying an array to a pointer
2019-08-19 09:14:54 -07:00
Chris Robinson
c0cd43d100
More logically separate temp reverb buffers
2019-08-19 08:46:57 -07:00