Cog/Plugins/Shorten/ShortenDecoder.h
Christopher Snowhill 7994929a80 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:43 -08:00

29 lines
448 B
Objective-C

//
// ShnFile.h
// Cog
//
// Created by Vincent Spader on 6/6/05.
// Copyright 2005 Vincent Spader All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <Shorten/shn_reader.h>
#import "Plugin.h"
@interface ShortenDecoder : NSObject <CogDecoder> {
// shn_file *handle;
shn_reader *decoder;
long bufferSize; // total size
int channels;
int bitsPerSample;
float frequency;
long totalFrames;
BOOL seekable;
double seconds;
}
@end