Cog/Plugins/SilenceDecoder/SilenceDecoder/SilenceDecoder.h
Christopher Snowhill ee7aae922d Audio: Add full timestamp accounting to playback
Audio Chunks now have full timestamp accounting, including DSP playback
speed ratio for the one DSP that can change play ratio, Rubber Band.
Inputs which support looping and actually reporting the absolute play
position now do so.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2025-02-12 14:08:17 -08:00

26 lines
396 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;
double seconds;
float *buffer;
}
- (void)setSource:(id<CogSource>)s;
- (id<CogSource>)source;
@end