Cog/Audio
Christopher Snowhill 0f5f11a5a4
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:17 -07:00
..
Chain Fix crash on unaligned volume scale 2023-10-11 20:22:17 -07:00
CogAudio.xcodeproj Revert to previous low latency output system 2023-10-02 10:57:47 -07:00
Output Hopefully fix memory usage during playback 2023-10-11 20:22:14 -07:00
ThirdParty Replace hard coded Pi constant with M_PI 2023-10-03 04:55:44 -07:00
Utils [Cog Audio] Rename Semaphore.h to CogSemaphore.h 2022-08-05 22:18:30 -07:00
Visualization Visualization: Improve latency and buffering appearance 2023-10-03 19:34:42 -07:00
AudioContainer.h [Sandbox] Suggest URLs that are contained in CUEs 2022-06-26 02:54:19 -07:00
AudioContainer.m [Sandbox] Suggest URLs that are contained in CUEs 2022-06-26 02:54:19 -07:00
AudioDecoder.h Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
AudioDecoder.m Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
AudioMetadataReader.h Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
AudioMetadataReader.m Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
AudioMetadataWriter.h Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
AudioMetadataWriter.m Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
AudioPlayer.h Playback: Start playback and seek in the background 2023-09-02 22:28:15 -07:00
AudioPlayer.m Revert to previous low latency output system 2023-10-02 10:57:47 -07:00
AudioPropertiesReader.h CUE Reader: Fix enumerating sheets and tag reading 2022-02-13 12:18:58 -08:00
AudioPropertiesReader.m CUE Reader: Fix enumerating sheets and tag reading 2022-02-13 12:18:58 -08:00
AudioSource.h Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
AudioSource.m Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
CogAudio-Bridging-Header.h [Cog Audio] Add a Swift bridging header 2022-08-05 21:36:39 -07:00
CogAudio_Prefix.pch Fix some more warnings. 2021-01-27 05:12:07 +03:00
CogPluginMulti.h [Sandbox] Suggest URLs that are contained in CUEs 2022-06-26 02:54:19 -07:00
CogPluginMulti.m [Input API] Change input readAudio method 2022-07-10 15:22:04 -07:00
Helper.h Volume slider changes 2023-06-08 03:40:04 -07:00
Helper.m Volume slider changes 2023-06-08 03:40:04 -07:00
Info.plist Updated everything else to ARC, and plugged a release cycle. 2016-05-05 13:05:39 -07:00
Plugin.h [Input API] Change input readAudio method 2022-07-10 15:22:04 -07:00
PluginController.h Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
PluginController.mm Add a cache shutdown guard 2023-10-03 22:59:23 -07:00
Status.h Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00