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>
35 lines
593 B
Objective-C
35 lines
593 B
Objective-C
//
|
|
// DSPHRTFNode.h
|
|
// CogAudio
|
|
//
|
|
// Created by Christopher Snowhill on 2/11/25.
|
|
//
|
|
|
|
#ifndef DSPHRTFNode_h
|
|
#define DSPHRTFNode_h
|
|
|
|
#import <simd/types.h>
|
|
|
|
#import "DSPNode.h"
|
|
|
|
@interface DSPHRTFNode : 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;
|
|
|
|
- (void)reportMotion:(simd_float4x4)matrix;
|
|
- (void)resetReferencePosition:(NSNotification *_Nullable)notification;
|
|
|
|
@end
|
|
|
|
#endif /* DSPHRTFNode_h */
|