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