cog/Plugins/vgmstream/vgmstream/VGMDecoder.h

40 lines
740 B
C
Raw Normal View History

2014-02-26 07:50:54 +00:00
//
// VGMDecoder.h
// vgmstream
//
// Created by Christopher Snowhill on 02/25/14.
// Copyright 2014 __NoWork, Inc__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
2018-06-28 10:59:59 +00:00
#import <libvgmstream/vgmstream.h>
#import <libvgmstream/streamfile.h>
2014-02-26 07:50:54 +00:00
#import "Plugin.h"
@interface VGMInfoCache : NSObject {
NSMutableDictionary *storage;
}
+(id)sharedCache;
-(void)stuffURL:(NSURL *)url stream:(VGMSTREAM *)stream;
-(NSDictionary*)getPropertiesForURL:(NSURL *)url;
-(NSDictionary*)getMetadataForURL:(NSURL *)url;
@end
2014-02-26 07:50:54 +00:00
@interface VGMDecoder : NSObject <CogDecoder> {
VGMSTREAM *stream;
BOOL playForever;
BOOL canPlayForever;
2014-02-26 07:50:54 +00:00
int sampleRate;
int channels;
int bitrate;
2014-02-26 07:50:54 +00:00
long totalFrames;
long framesRead;
}
@end