2005-06-06 13:47:29 -04:00
|
|
|
//
|
|
|
|
// ShnFile.h
|
|
|
|
// Cog
|
|
|
|
//
|
2005-07-02 17:02:06 -04:00
|
|
|
// Created by Vincent Spader on 6/6/05.
|
|
|
|
// Copyright 2005 Vincent Spader All rights reserved.
|
2005-06-06 13:47:29 -04:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
2006-06-03 16:25:44 -04:00
|
|
|
#import <Shorten/shn_reader.h>
|
2005-06-06 13:47:29 -04:00
|
|
|
|
2007-02-24 17:36:27 -03:00
|
|
|
#import "Plugin.h"
|
2005-06-06 13:47:29 -04:00
|
|
|
|
2022-02-07 02:49:27 -03:00
|
|
|
@interface ShortenDecoder : NSObject <CogDecoder> {
|
|
|
|
// shn_file *handle;
|
2006-06-03 16:25:44 -04:00
|
|
|
shn_reader *decoder;
|
2022-02-07 02:49:27 -03:00
|
|
|
|
|
|
|
long bufferSize; // total size
|
|
|
|
|
2007-02-24 17:36:27 -03:00
|
|
|
int channels;
|
|
|
|
int bitsPerSample;
|
|
|
|
float frequency;
|
2008-03-30 11:43:28 -04:00
|
|
|
long totalFrames;
|
2007-05-27 11:11:30 -04:00
|
|
|
BOOL seekable;
|
2005-06-06 13:47:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@end
|