11#ifdef VIDEO_STANDARD_PAL
19inline const char *LanguageSoundFxPath(
const char *pszFile) {
20 if (SystemLanguageIsEnglish()) {
110 SendMessage(
unsigned char nByte0,
unsigned char nByte1,
unsigned char nByte2,
int nByte3) = 0;
206 virtual int Partition(
const std::vector<int> &blocks) = 0;
250 virtual int LoadBank(
unsigned short nSlot,
const String &file,
bool bSkipPending) = 0;
460extern std::unique_ptr<Synth>
TheSynth;
Stream of sound data read from a file and handed to the sound output a run at a time.
Definition streamplayer.h:13
Growable text buffer that is also a PrnStream.
Definition string.h:19
The MIDI synthesiser that drives the SPU2 voices.
Definition synth.h:19
virtual void SetStream(StreamPlayer *pStream)
Vtable slot 11.
virtual int SendPackedMessage(unsigned int nPacked)=0
Vtable slot 5.
virtual void SetBusToSoftFx(int nOn)
Vtable slot 34.
virtual void UpdateTime()=0
Vtable slot 8.
virtual int SendMessage(unsigned char nByte0, unsigned char nByte1, unsigned char nByte2, int nByte3)=0
Vtable slot 6.
virtual int DisableSoftFx()=0
Vtable slot 29.
virtual void SetOutputLevel(float fLevel)
Vtable slot 30.
virtual int EnableSoftFx()=0
Vtable slot 28.
virtual void SetSoftFxModulation(float fValue)
Vtable slot 26.
virtual int Init()=0
Vtable slot 1.
virtual void SetSoftFxFilter(const SoftFxFilter &filter)
Vtable slot 27.
virtual StreamPlayer * GetStream()
Vtable slot 10.
virtual void SetLag(float fLag)
Vtable slot 23.
virtual void QueueCallback(Callback pfnCallback, int nArg)
Vtable slot 37.
virtual float GetOutputLevel()
Vtable slot 31.
virtual void SetMono(bool bMono)
Vtable slot 22.
virtual int Terminate()=0
Vtable slot 2.
virtual int IsBankPresent(unsigned short nSlot)
Vtable slot 18.
virtual int Unsupported()
Vtable slot 7.
virtual int UnloadBank(unsigned short nSlot)=0
Vtable slot 20.
virtual void VirtualSlot35()
Vtable slot 35.
virtual int GetBankBlockCount(const String &file)=0
Vtable slot 16.
virtual int GetStreamFormat(int *pnRate, int *pnBlock)=0
Vtable slot 14, pure in this class.
virtual ~Synth()
Vtable slot 4.
virtual void SetSoftFxSweep(float fPosition)
Vtable slot 25.
virtual int GetStreamStatus()
Vtable slot 13.
virtual int Partition(const std::vector< int > &blocks)=0
Vtable slot 15.
static void Destroy()
Terminate TheSynth, destroy it, and clear the pointer.
virtual void SetSoftFxInput(int nInput)
Vtable slot 32.
void(* Callback)(int nArg)
Routine a queued callback job calls with its argument.
Definition synth.h:439
virtual void SetSurround(bool bSurround)
Vtable slot 21.
virtual void SendStreamData(const void *pData, int nSize)
Vtable slot 12.
virtual void SetBusToCoreFx(int nOn)
Vtable slot 33.
virtual void SendMessages(const std::vector< unsigned int > &messages)
Vtable slot 36.
static void Create()
Build TheSynth and initialise it.
virtual int LoadBank(unsigned short nSlot, const String &file, bool bSkipPending)=0
Vtable slot 19.
virtual bool IsBankLoaded(unsigned short nSlot)=0
Vtable slot 17.
virtual void ResetSpu()
Vtable slot 3.
virtual float GetLag()
Vtable slot 24.
virtual int Poll()=0
Vtable slot 9.
const char * FormatString(const char *pszFormat,...)
Format text into one shared buffer and return it.
Settings of the software effect, read from the filter entry of the first effect bus.
Definition softfxfilter.h:9
std::unique_ptr< Synth > TheSynth
The sound output Synth::Create() built, or null.
const char * GetSystemLanguage()
Report the language the console is set to.