Cog/Visualization/SpectrumViewSK.h
Christopher Snowhill 8394eb4b0b Housecleaning: Cleaned up a bunch of warnings
And a bunch of potential memory leaks, and some misbehavior that could
occur due to not checking for errors properly.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2025-06-24 03:44:38 -07:00

26 lines
473 B
Objective-C

//
// SpectrumViewSK.h
// Cog
//
// Created by Christopher Snowhill on 2/12/22.
//
#import <Cocoa/Cocoa.h>
#import <SceneKit/SceneKit.h>
#import <CogAudio/VisualizationController.h>
NS_ASSUME_NONNULL_BEGIN
@interface SpectrumViewSK : SCNView
@property(nonatomic) BOOL isListening;
@property(nonatomic) BOOL isWorking;
+ (SpectrumViewSK *_Nullable)createGuardWithFrame:(NSRect)frame;
- (void)enableCameraControl;
- (void)startPlayback;
@end
NS_ASSUME_NONNULL_END