cog/Plugins/WavPack/WavPackDecoder.h

34 lines
531 B
C
Raw Normal View History

2005-06-06 17:47:29 +00:00
//
// WavPackFile.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>
#import "Plugin.h"
2005-06-06 17:47:29 +00:00
#define ChunkHeader WavPackChunkHeader
#import <WavPack/wavpack.h>
2005-06-06 17:47:29 +00:00
@interface WavPackDecoder : NSObject <CogDecoder>
{
2005-06-06 17:47:29 +00:00
WavpackContext *wpc;
WavpackStreamReader reader;
id<CogSource> source;
int bitsPerSample;
int channels;
int bitrate;
float frequency;
long totalFrames;
2005-06-06 17:47:29 +00:00
}
- (void)setSource:(id<CogSource>)s;
- (id<CogSource>)source;
2005-06-06 17:47:29 +00:00
@end