2022-02-13 04:04:03 -03:00
|
|
|
//
|
|
|
|
// VisualizationController.h
|
|
|
|
// CogAudio Framework
|
|
|
|
//
|
|
|
|
// Created by Christopher Snowhill on 2/12/22.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@interface VisualizationController : NSObject {
|
|
|
|
}
|
|
|
|
|
|
|
|
+ (VisualizationController *)sharedController;
|
|
|
|
|
2022-06-24 02:17:31 -04:00
|
|
|
- (void)postLatency:(double)latency;
|
|
|
|
|
2024-09-21 02:12:50 -03:00
|
|
|
- (UInt64)samplesPosted;
|
|
|
|
|
2022-02-13 17:15:27 -03:00
|
|
|
- (void)postSampleRate:(double)sampleRate;
|
2022-02-17 02:54:55 -03:00
|
|
|
- (void)postVisPCM:(const float *)inPCM amount:(int)amount;
|
2022-02-13 17:15:27 -03:00
|
|
|
- (double)readSampleRate;
|
2025-03-13 23:47:35 -03:00
|
|
|
- (void)copyVisPCM:(float *_Nullable)outPCM visFFT:(float *_Nullable)outFFT latencyOffset:(double)latency;
|
2022-02-13 04:04:03 -03:00
|
|
|
|
2025-02-26 01:10:06 -03:00
|
|
|
- (void)reset;
|
|
|
|
|
2022-02-13 04:04:03 -03:00
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|