24#ifndef __LS_ENGINE_H__
25#define __LS_ENGINE_H__
27#include "../common/global.h"
LinuxSampler Sampler Engine Interface.
friend class EngineFactory
virtual uint VoiceCountMax()=0
virtual String DiskStreamBufferFillBytes()=0
virtual InstrumentManager * GetInstrumentManager()=0
Returns pointer to the Engine's InstrumentManager or NULL if the Engine does not provide an Instrumen...
virtual int MaxVoices()=0
virtual int MaxDiskStreams()=0
virtual String EngineName()=0
virtual void SendSysex(void *pData, uint Size, MidiInputPort *pSender)=0
virtual void AdjustScaleTuning(const int8_t ScaleTunes[12])=0
Modifies the scale tuning from standard well tempered chromatic scaling to any other kind of scaling.
virtual uint VoiceCount()=0
virtual bool DiskStreamSupported()=0
virtual void SetMaxVoices(int iVoices)=0
virtual void GetScaleTuning(int8_t *pScaleTunes)=0
Expects a byte array with 12 elements as argument pScaleTunes, where the currently effectve scale tun...
virtual String Version()=0
virtual uint DiskStreamCountMax()=0
virtual uint DiskStreamCount()=0
virtual String Description()=0
virtual void SetMaxDiskStreams(int iStreams)=0
virtual int RenderAudio(uint Samples)=0
virtual String DiskStreamBufferFillPercentage()=0
virtual void ResetScaleTuning()=0
Reset to standard well tempered chromatic scaling, i.e.
virtual void ReconnectAudioOutputDevice()=0
Will be called by audio output drivers in case some fundamental audio driver parameter like sample ra...
Exception that will be thrown in NON REAL TIME PARTS of the LinuxSampler application.
Abstract interface class for InstrumentManagers.
Wraps as a kind of pointer class some data object shared with other threads, to protect / synchronize...