2005-06-02 14:16:43 -04:00
|
|
|
//
|
|
|
|
// MonkeysFile.h
|
|
|
|
// zyVorbis
|
|
|
|
//
|
|
|
|
// Created by Vincent Spader on 1/30/05.
|
2005-07-02 17:02:06 -04:00
|
|
|
// Copyright 2005 Vincent Spader All rights reserved.
|
2005-06-02 14:16:43 -04:00
|
|
|
//
|
|
|
|
|
2007-11-24 17:16:27 -03:00
|
|
|
#import "Plugin.h"
|
|
|
|
|
2005-06-02 14:16:43 -04:00
|
|
|
#import <Cocoa/Cocoa.h>
|
2007-02-24 17:36:27 -03:00
|
|
|
#import "MAC/All.h"
|
|
|
|
#import "MAC/MACLib.h"
|
2005-06-02 14:16:43 -04:00
|
|
|
|
2007-03-04 15:20:23 -03:00
|
|
|
#import "SourceIO.h"
|
|
|
|
|
2007-02-24 17:36:27 -03:00
|
|
|
@interface MonkeysAudioDecoder : NSObject <CogDecoder>
|
|
|
|
{
|
2007-03-04 15:20:23 -03:00
|
|
|
IAPEDecompress *decompress;
|
|
|
|
|
|
|
|
id<CogSource> source;
|
|
|
|
SourceIO *sourceIO;
|
2007-02-24 17:36:27 -03:00
|
|
|
|
|
|
|
int channels;
|
|
|
|
int bitsPerSample;
|
|
|
|
float frequency;
|
2007-11-24 17:16:27 -03:00
|
|
|
long totalFrames;
|
2005-06-02 14:16:43 -04:00
|
|
|
}
|
|
|
|
|
2007-03-04 15:41:43 -03:00
|
|
|
- (void)setSource:(id<CogSource>)s;
|
|
|
|
- (id<CogSource>)source;
|
|
|
|
|
2005-06-02 14:16:43 -04:00
|
|
|
@end
|