Cog/Plugins/Vorbis/VorbisDecoder.h

36 lines
544 B
C
Raw Normal View History

2005-06-02 14:16:43 -04:00
//
// VorbisFile.h
// zyVorbis
//
// Created by Vincent Spader on 1/22/05.
2005-07-02 17:02:06 -04:00
// Copyright 2005 Vincent Spader All rights reserved.
2005-06-02 14:16:43 -04:00
//
#import <Cocoa/Cocoa.h>
#import "Plugin.h"
//config.h things
#define __MACOSX__
#define HAVE_CONFIG_H
2005-06-02 14:16:43 -04:00
#import <Vorbis/vorbisfile.h>
#import <Vorbis/codec.h>
#undef __MACOSX__
#undef HAVE_CONFIG_H
@interface VorbisDecoder : NSObject <CogDecoder>
{
2005-06-02 14:16:43 -04:00
FILE *inFd;
OggVorbis_File vorbisRef;
int currentSection;
int bitsPerSample;
int bitrate;
int channels;
float frequency;
double length;
2005-06-02 14:16:43 -04:00
}
2005-06-02 14:16:43 -04:00
@end