2013-10-05 09:01:33 +00:00
|
|
|
//
|
|
|
|
// OpusDecoder.h
|
|
|
|
// Opus
|
|
|
|
//
|
|
|
|
// Created by Christopher Snowhill on 10/4/13.
|
|
|
|
// Copyright 2013 __NoWork, Inc__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import "Plugin.h"
|
2022-02-07 05:49:27 +00:00
|
|
|
#import <Cocoa/Cocoa.h>
|
2013-10-05 09:01:33 +00:00
|
|
|
|
2022-02-15 08:26:55 +00:00
|
|
|
#import <opusfile.h>
|
2013-10-05 09:01:33 +00:00
|
|
|
|
2022-02-07 05:49:27 +00:00
|
|
|
@interface OpusFile : NSObject <CogDecoder> {
|
2013-10-05 09:01:33 +00:00
|
|
|
id<CogSource> source;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
|
|
|
OggOpusFile* opusRef;
|
2013-10-05 09:01:33 +00:00
|
|
|
int currentSection;
|
|
|
|
int lastSection;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2013-10-05 09:01:33 +00:00
|
|
|
BOOL seekable;
|
|
|
|
int bitrate;
|
|
|
|
int channels;
|
|
|
|
long totalFrames;
|
2022-02-09 21:44:50 +00:00
|
|
|
|
2022-07-21 10:50:39 +00:00
|
|
|
int metadataUpdateInterval;
|
|
|
|
int metadataUpdateCount;
|
|
|
|
|
2022-07-08 13:26:28 +00:00
|
|
|
NSDictionary *metaDict;
|
|
|
|
NSDictionary *icyMetaDict;
|
2022-06-17 17:27:17 +00:00
|
|
|
|
2022-02-12 15:16:59 +00:00
|
|
|
NSData *albumArt;
|
2022-07-08 13:26:28 +00:00
|
|
|
|
|
|
|
float replayGainAlbumGain;
|
|
|
|
float replayGainTrackGain;
|
2013-10-05 09:01:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@end
|