Cog/Plugins/libvgmPlayer/libvgmDecoder.h
Christopher Snowhill 387dcb3453 [Synthesizers] Implement default overrides
Default time, fade, loop count, and sample rate may now be overridden.

Synchronized preferences strings tables. Spanish translation of new
options pending, new releases won't be pushed until they're complete.

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

35 lines
650 B
Objective-C

//
// libvgmDecoder.h
// libvgmPlayer
//
// Created by Christopher Snowhill on 1/02/22.
// Copyright 2022 __LoSnoCo__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <libvgm/player/playera.hpp>
#import <libvgm/player/playerbase.hpp>
#import <libvgm/utils/DataLoader.h>
#import "Plugin.h"
@interface libvgmDecoder : NSObject <CogDecoder> {
UINT8* fileData;
DATA_LOADER* dLoad;
PlayerA* mainPlr;
id<CogSource> source;
double sampleRate;
long loopCount;
double fadeTime;
long length;
BOOL trackEnded;
}
- (BOOL)trackEnded;
- (void)setTrackEnded:(BOOL)ended;
- (void)setSource:(id<CogSource>)s;
- (id<CogSource>)source;
@end