// // WMADecoder.h // WMA // // Created by Andre Reffhaug on 2/26/08. // Copyright 2008 __MyCompanyName__. All rights reserved. // #import #import "Plugin.h" #define __FRAMEWORK__ #import "WMA/avcodec.h" #import "WMA/avformat.h" #undef __FRAMEWORK__ @interface WMADecoder : NSObject { id source; void *sampleBuffer; int sampleBufferSize; int numFrames; int samplePos; int streamIndex; AVFormatContext *ic; AVCodecContext *c; AVCodec *codec; BOOL seekable; int bitsPerSample; int bitrate; int channels; float frequency; long totalFrames; long framesPlayed; } @end