Cog/Plugins/MIDI/MIDI/MIDIDecoder.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

41 lines
628 B
Objective-C

//
// MIDIDecoder.h
// MIDI
//
// Created by Christopher Snowhill on 10/15/13.
// Copyright 2013 __NoWork, Inc__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "MIDIPlayer.h"
#import "Plugin.h"
class AUPlayer;
class BMPlayer;
@interface MIDIDecoder : NSObject <CogDecoder> {
id<CogSource> source;
int track_num;
BMPlayer* bmplayer;
AUPlayer* auplayer;
MIDIPlayer* player;
midi_container midi_file;
const void* sbHandle;
NSString* globalSoundFontPath;
BOOL soundFontsAssigned;
BOOL isLooped;
double sampleRate;
long totalFrames;
long framesLength;
long framesFade;
long framesRead;
}
@end