Cog/Plugins/Opus/Opus/OpusDecoder.h
Christopher Snowhill dcc751fb3f Experimental tag support redesign
This redesign completely changes how tags are stored in memory. Now all
arbitrary tag names are supported, where possible. Some extra work will
be needed to support arbitrary tags with TagLib, such as replacing it
with a different library.

Translation pending for a couple of strings.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-07-08 06:26:28 -07:00

35 lines
544 B
Objective-C

//
// OpusDecoder.h
// Opus
//
// Created by Christopher Snowhill on 10/4/13.
// Copyright 2013 __NoWork, Inc__. All rights reserved.
//
#import "Plugin.h"
#import <Cocoa/Cocoa.h>
#import <opusfile.h>
@interface OpusFile : NSObject <CogDecoder> {
id<CogSource> source;
OggOpusFile* opusRef;
int currentSection;
int lastSection;
BOOL seekable;
int bitrate;
int channels;
long totalFrames;
NSDictionary *metaDict;
NSDictionary *icyMetaDict;
NSData *albumArt;
float replayGainAlbumGain;
float replayGainTrackGain;
}
@end