Cog/Audio/Chain
Christopher Snowhill cddfc3d1db Rubber Band: Handle end of stream flushing better
The end of stream flushing should only request remaining samples once,
as should the rest of the process. The problem with the Rubber Band code
in this case is that it will wrap the remaining samples pointer after it
has been flushed, and emit a really huge number.

Also, add code to try to equalize the samples output with the samples
input, relative to the tempo stretching, as Rubber Band seems to flush
entirely too much data at end of stream, which can create noticeable
gaps in the output. This solves that as well.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2025-02-11 18:12:41 -08: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 Rubber Band: Move everything to a DSP class 2025-02-11 01:25:26 -08:00
BufferChain.m Rubber Band: Move everything to a DSP class 2025-02-11 01:25:26 -08: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
DSPNode.h DSP: Add thread priority control 2025-02-11 15:10:38 -08:00
DSPNode.m DSP: Add thread priority control 2025-02-11 15:10:38 -08:00
DSPRubberbandNode.h Rubber Band: Move everything to a DSP class 2025-02-11 01:25:26 -08:00
DSPRubberbandNode.m Rubber Band: Handle end of stream flushing better 2025-02-11 18:12:41 -08:00
InputNode.h Audio Player: Only wait for unstopped input 2022-12-09 21:17:45 -08:00
InputNode.m Rubber Band: Move everything to a DSP class 2025-02-11 01:25:26 -08:00
Node.h Improve audio buffering situation 2023-10-03 05:00:51 -07:00
Node.m DSP: Whitespace changes 2025-02-11 18:12:26 -08:00
OutputNode.h Rubber Band: Move everything to a DSP class 2025-02-11 01:25:26 -08:00
OutputNode.m Rubber Band: Move everything to a DSP class 2025-02-11 01:25:26 -08:00