Check for paused processing state in various places, so that startup playback works properly, and resume playback at seek offset works properly and doesn't hang the player. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
30 lines
482 B
Objective-C
30 lines
482 B
Objective-C
//
|
|
// DSPRubberbandNode.h
|
|
// CogAudio
|
|
//
|
|
// Created by Christopher Snowhill on 2/10/25.
|
|
//
|
|
|
|
#ifndef DSPRubberbandNode_h
|
|
#define DSPRubberbandNode_h
|
|
|
|
#import "DSPNode.h"
|
|
|
|
@interface DSPRubberbandNode : DSPNode {
|
|
}
|
|
|
|
- (id _Nullable)initWithController:(id _Nonnull)c previous:(id _Nullable)p latency:(double)latency;
|
|
|
|
- (BOOL)setup;
|
|
- (void)cleanUp;
|
|
|
|
- (void)resetBuffer;
|
|
|
|
- (BOOL)paused;
|
|
|
|
- (void)process;
|
|
- (AudioChunk * _Nullable)convert;
|
|
|
|
@end
|
|
|
|
#endif /* DSPRubberbandNode_h */
|