Cog/Audio/Chain
Christopher Snowhill 42ea824972
Fix crash on unaligned volume scale
Volume scaling would potentially crash when handling
unaligned blocks of samples, and also handled them
completely wrong. It should be counting up single
samples until the buffer is aligned to a multiple of 16
bytes, and it should not exceed the intended count.

BUG: It was not only counting the unaligned samples
backwards, it was ignoring the real sample count.

Fixes #380

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2023-10-11 20:22:42 -07:00
..
AudioChunk.h [FreeSurround] Further improvements 2022-07-14 01:47:02 -07:00
AudioChunk.m [FreeSurround] Further improvements 2022-07-14 01:47:02 -07:00
BufferChain.h Revert to previous low latency output system 2023-10-02 10:56:33 -07:00
BufferChain.m Revert to previous low latency output system 2023-10-02 10:56:33 -07:00
ChunkList.h Add an option to control halving DSD volume level 2023-07-15 16:46:39 -07:00
ChunkList.m Add an option to control halving DSD volume level 2023-07-15 16:46:39 -07:00
ConverterNode.h Revert to previous low latency output system 2023-10-02 10:56:33 -07:00
ConverterNode.m Fix crash on unaligned volume scale 2023-10-11 20:22:42 -07:00
Downmix.h Replace Core Audio output with Core Media runtime 2022-06-23 23:23:13 -07:00
Downmix.m [Downmixer] Only downmix to stereo if not stereo 2022-07-10 15:08:56 -07:00
InputNode.h Audio Player: Only wait for unstopped input 2022-12-09 21:17:45 -08:00
InputNode.m Audio Player: Only wait for unstopped input 2022-12-09 21:17:45 -08:00
Node.h Improve audio buffering situation 2023-10-03 05:00:51 -07:00
Node.m Reduce audio buffering slightly again 2023-10-03 19:46:30 -07:00
OutputNode.h Revert to previous low latency output system 2023-10-02 10:56:33 -07:00
OutputNode.m Revert to previous low latency output system 2023-10-02 10:56:33 -07:00