Cog/Plugins/MIDI/MIDI/MIDIDecoder.h
Christopher Snowhill 838b31a6e8 MIDI: Replaced FluidSynth with BASSMIDI again
FluidSynth is just too unstable, and also just bad in general.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-08 18:29:03 -08:00

37 lines
583 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;
NSString* globalSoundFontPath;
BOOL soundFontsAssigned;
BOOL isLooped;
long totalFrames;
long framesLength;
long framesFade;
long framesRead;
}
@end