/* ***************************************************************************
        MIDAS Digital Audio System Functions.
*************************************************************************** */

extern WINAPI "midas11.dll"
{
        dword MIDASaddEchoEffect(dword);
        BOOL MIDASaddPostProcessor(dword,dword,dword);
        BOOL MIDASallocAutoEffectChannels(dword);
        dword MIDASallocateChannel();
        BOOL MIDASclose();
        BOOL MIDAScloseChannels();
        BOOL MIDASconfig();
        BOOL MIDASdetectSD();
        BOOL MIDASdetectSoundCard();
        BOOL MIDASfadeMusicChannel(dword,dword,dword);
        dword MIDASfeedStreamData(dword,dword,dword,dword);
        BOOL MIDASfreeAutoEffectChannels();
        BOOL MIDASfreeChannel(dword);
        BOOL MIDASfreeModule(dword);
        BOOL MIDASfreeSample(dword);
        dword MIDASgetErrorMessage(dword);
        BOOL MIDASgetInstrumentInfo(dword,dword,dword);
        long MIDASgetLastError();
        BOOL MIDASgetModuleInfo(dword,dword);
        dword MIDASgetOption(dword);
        BOOL MIDASgetPlayStatus(dword,dword);
        dword MIDASgetSamplePlayStatus(dword);
        dword MIDASgetStreamBytesBuffered(dword);
        dword MIDASgetVersionString();
        BOOL MIDASinit();
        BOOL MIDASloadConfig(dword);
        dword MIDASloadModule(dword);
        dword MIDASloadRawSample(dword,dword,dword);
        dword MIDASloadWaveSample(dword,dword);
        void MIDASlock();
        BOOL MIDASopenChannels(dword);
        BOOL MIDASpauseStream(dword);
        dword MIDASplayModule(dword,dword);
        dword MIDASplayModuleSection(dword,dword,dword,dword,dword);
        dword MIDASplaySample(dword,dword,dword,dword,dword,dword);
        dword MIDASplayStreamFile(dword,dword,dword,dword,dword);
        dword MIDASplayStreamPolling(dword,dword,dword);
        dword MIDASplayStreamWaveFile(dword,dword,dword);
        BOOL MIDASpoll();
        BOOL MIDASreadConfigRegistry(dword,dword);
        BOOL MIDASremoveEchoEffect(dword);
        BOOL MIDASremovePostProcessor(dword);
        BOOL MIDASresume();
        BOOL MIDASresumeStream(dword);
        BOOL MIDASsaveConfig(dword);
        BOOL MIDASsetAmplification(dword);
        BOOL MIDASsetMusicSyncCallback(dword,dword);
        BOOL MIDASsetMusicVolume(dword,dword);
        BOOL MIDASsetOption(dword,dword);
        BOOL MIDASsetPosition(dword,dword);
        BOOL MIDASsetSamplePanning(dword,dword);
        BOOL MIDASsetSamplePriority(dword,dword);
        BOOL MIDASsetSampleRate(dword,dword);
        BOOL MIDASsetSampleVolume(dword,dword);
        BOOL MIDASsetStreamPanning(dword,dword);
        BOOL MIDASsetStreamRate(dword,dword);
        BOOL MIDASsetStreamVolume(dword,dword);
        BOOL MIDASstartBackgroundPlay(dword);
        BOOL MIDASstartup();
        BOOL MIDASstopBackgroundPlay();
        BOOL MIDASstopModule(dword);
        BOOL MIDASstopSample(dword);
        BOOL MIDASstopStream(dword);
        BOOL MIDASsuspend();
        void MIDASunlock();
        BOOL MIDASwriteConfigRegistry(dword,dword);
}
