ModuleInfo "MaxMod2: RtAudio interface"
ModuleInfo "Author: REDi - Cliff Harman"
ModuleInfo "CC_OPTS: -fexceptions"
import brl.blitz
import "-ldsound"
import "-lole32"
import maxmod2.maxmod2
CreateAudioDriver_RtAudio:IMaxModAudioDriver(api%,showWarnings%)="CreateAudioDriver_RtAudio"
CloseAudioDriver_RtAudio%(Driver:IMaxModAudioDriver)="CloseAudioDriver_RtAudio"
RtAudio_showWarnings%(Driver:IMaxModAudioDriver,bool%)="RtAudio_showWarnings"
TMaxModRtAudioDriver^TMaxModDriver{
optShowWarnings%&=mem("_maxmod2_rtaudio_TMaxModRtAudioDriver_optShowWarnings")
-New%()="_maxmod2_rtaudio_TMaxModRtAudioDriver_New"
-Delete%()="_maxmod2_rtaudio_TMaxModRtAudioDriver_Delete"
+CreateSpecific:TMaxModDriver(name$,api$)="_maxmod2_rtaudio_TMaxModRtAudioDriver_CreateSpecific"
-registerAPIs%()="_maxmod2_rtaudio_TMaxModRtAudioDriver_registerAPIs"
+Create:TMaxModDriver(name$)="_maxmod2_rtaudio_TMaxModRtAudioDriver_Create"
+showWarnings%(bool%)="_maxmod2_rtaudio_TMaxModRtAudioDriver_showWarnings"
+Init%(api$=$"AUTOMATIC")="_maxmod2_rtaudio_TMaxModRtAudioDriver_Init"
}="maxmod2_rtaudio_TMaxModRtAudioDriver"
