Cog/Plugins/SilenceDecoder/SilenceDecoder/SilenceDecoder.h
Christopher Snowhill c612994cb2 Move most large stack using buffers to the heap
This should solve most potential future stack overflows.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-07-24 18:41:50 -07:00

24 lines
379 B
Objective-C

//
// SilenceDecoder.h
// Cog
//
// Created by Christopher Snowhill on 2/8/15.
// Copyright 2015 __NoWork, LLC__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "Plugin.h"
@interface SilenceDecoder : NSObject <CogDecoder> {
id<CogSource> source;
long length;
long remain;
float *buffer;
}
- (void)setSource:(id<CogSource>)s;
- (id<CogSource>)source;
@end