cog/Plugins/WMA/WMADecoder.h

36 lines
530 B
C
Raw Normal View History

//
// WMADecoder.h
// WMA
//
// Created by Andre Reffhaug on 2/26/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "Plugin.h"
#import "WMA/avcodec.h"
#import "WMA/avformat.h"
@interface WMADecoder : NSObject <CogDecoder>
{
id<CogSource> source;
void *sampleBuffer;
2008-03-01 14:11:30 +00:00
int numFrames;
int samplePos;
AVFormatContext *ic;
AVCodecContext *c;
AVCodec *codec;
BOOL seekable;
int bitsPerSample;
int bitrate;
int channels;
float frequency;
long totalFrames;
}
@end