Audio Chunks now have full timestamp accounting, including DSP playback speed ratio for the one DSP that can change play ratio, Rubber Band. Inputs which support looping and actually reporting the absolute play position now do so. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
39 lines
613 B
Objective-C
39 lines
613 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;
|
|
long frame;
|
|
|
|
int metadataUpdateInterval;
|
|
int metadataUpdateCount;
|
|
|
|
NSDictionary *metaDict;
|
|
NSDictionary *icyMetaDict;
|
|
|
|
NSData *albumArt;
|
|
|
|
float replayGainAlbumGain;
|
|
float replayGainTrackGain;
|
|
}
|
|
|
|
@end
|