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>
26 lines
396 B
Objective-C
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
|