Cog/Visualization/SpectrumViewSK.h
Christopher Snowhill 341e27b3b6 Visualization Experiment: Test out projectM
This was just an experiment, and was hashed in to test it out. It does
not look like it would be a very efficient thing to ship this in the
main app at all, especially since the collection of presets is so dang
huge. It was also never meant to replace the existing visualizations,
but instead as another option. One of the things from this branch will
make it into the final: Optional nullability of the Visualization
Manager parameters, since technically they're both checked on call.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2025-03-14 17:36:06 -07:00

28 lines
500 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 *)createGuardWithFrame:(NSRect)frame;
- (id)initWithFrame:(NSRect)frame;
- (void)enableCameraControl;
- (void)startPlayback;
@end
NS_ASSUME_NONNULL_END