6725 Commits

Author SHA1 Message Date
Chris Robinson
88364dcbc7 Fix more implicit conversions 2019-09-14 08:29:02 -07:00
Chris Robinson
2646f509ee Store the ambisonic order as unsigned 2019-09-13 20:04:22 -07:00
Chris Robinson
42ae95b8fa Remove a couple no-op statements 2019-09-13 14:44:52 -07:00
Chris Robinson
a250b6a986 Return unsigned values from the FromDevFmt functions 2019-09-13 14:29:25 -07:00
Chris Robinson
fcd3bed0c0 Clean up more implicit conversions 2019-09-13 12:51:16 -07:00
Chris Robinson
f09734b707 Pass IrSize to the HRTF mixers as unsigned 2019-09-13 11:19:11 -07:00
Chris Robinson
4254888576 Make IrSize unsigned 2019-09-13 09:38:35 -07:00
Chris Robinson
df306b5524 Make NumAuxSends unsigned 2019-09-13 04:15:05 -07:00
Chris Robinson
5b763e1437 Clean up implicit conversions in alu.cpp 2019-09-13 03:47:23 -07:00
Chris Robinson
c1690178ec Make the resampler increment unsigned 2019-09-13 03:25:13 -07:00
Chris Robinson
5f862a5b49 Clean up sample converter implicit conversions 2019-09-12 17:45:06 -07:00
Chris Robinson
5ca8796d6a Clean up some lambda definitions 2019-09-12 17:10:33 -07:00
Chris Robinson
70b58d79fe Fix source limit check 2019-09-12 12:19:07 -07:00
Chris Robinson
6ca8fadd58 Fix counting free objects 2019-09-12 12:14:23 -07:00
Chris Robinson
ac48569c69 Avoid a macro call and mark unlikely paths as unlikely 2019-09-12 11:59:36 -07:00
Chris Robinson
2e010d29cb Clean up implicit conversions in source.cpp 2019-09-12 11:33:04 -07:00
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