Visualization now buffers in the audio output pipeline, and uses a container system to delay multiple buffer chains from emitting visualization data over top of each other. This should stabilize display output significantly, while introducing minimal lag before DSP configuration changes take effect. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
24 lines
369 B
Objective-C
24 lines
369 B
Objective-C
//
|
|
// DSPNode.h
|
|
// CogAudio
|
|
//
|
|
// Created by Christopher Snowhill on 2/10/25.
|
|
//
|
|
|
|
#ifndef DSPNode_h
|
|
#define DSPNode_h
|
|
|
|
#import "Node.h"
|
|
|
|
@interface DSPNode : Node {
|
|
}
|
|
|
|
- (id _Nullable)initWithController:(id _Nonnull)c previous:(id _Nullable)p latency:(double)latency;
|
|
|
|
- (void)threadEntry:(id _Nullable)arg;
|
|
|
|
- (double)secondsBuffered;
|
|
|
|
@end
|
|
|
|
#endif /* DSPNode_h */
|