Chris Robinson
c0ce03d8b9
Get rid of more implicit conversions
2019-09-12 06:29:32 -07:00
Chris Robinson
b71eb4dafd
Don't use [[nodiscard]] in C++11
...
To silence some warnings in older compilers, and fix an error with newer MSVC.
2019-09-12 04:30:52 -07:00
Chris Robinson
6699f3cf1c
Use unsigned channel indices
2019-09-12 04:17:21 -07:00
Chris Robinson
4c76f32dda
Avoid implicit conversions with the examples and utils
2019-09-12 03:22:34 -07:00
Chris Robinson
474d478854
Only pass -Wold-style-cast for C++
2019-09-11 15:55:37 -07:00
Chris Robinson
07e2aa3bc0
Clean up some more implicit conversions
2019-09-11 14:33:26 -07:00
Chris Robinson
681c78d348
Allocate buffer batches separately from buffers
2019-09-11 12:28:33 -07:00
Chris Robinson
1a9f1e0869
Fix a few more C-style casts
2019-09-11 08:08:23 -07:00
Chris Robinson
14c76ca244
Fix allocator comparison operators
2019-09-11 07:32:14 -07:00
Chris Robinson
a895709b6f
Fix function declaration
2019-09-11 06:58:27 -07:00
Chris Robinson
be0442c620
Avoid C-style casts in C++
2019-09-11 06:47:56 -07:00
Chris Robinson
388928f3aa
Fix some more implicit casts
2019-09-11 05:53:10 -07:00
Chris Robinson
e4b15aeefc
Fix some implicit casts
2019-09-11 04:55:54 -07:00
Chris Robinson
5b37e2339b
Simplify flexible array member usage
2019-09-11 03:59:53 -07:00
Chris Robinson
c6c5048416
Don't inherit for the allocator
2019-09-11 03:22:10 -07:00
Chris Robinson
65374dc5d0
Avoid dynamically allocating ChannelConverter
2019-09-10 23:01:33 -07:00
Chris Robinson
19e1cd7430
Make hq-mode the default and update ambisonics.txt
2019-09-08 01:38:20 -07:00
Chris Robinson
449c09bf03
Remove mention of an unsupported env var
2019-09-08 00:59:56 -07:00
Chris Robinson
ec8b56ef3b
Remove unneeded TRACEREF logging
2019-09-08 00:59:10 -07:00
Chris Robinson
fcb496bb5c
Avoid unnecessary explicit copy methods
2019-09-08 00:31:55 -07:00
Chris Robinson
987fd13796
Use a new voice when restarting a playing source
2019-09-06 21:20:20 -07:00
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