// ---- auto generated by YInG - the YAC interface generator (Tue, 11/Feb/2014 21:31:21)
#ifndef __YAC__portaudio_h__
#define __YAC__portaudio_h__

sUI                                          clid_PaDeviceInfo;
YAC_RTemplate<_PaDeviceInfo>                   *t_PaDeviceInfo;
sUI                                          clid_PaHostApiInfo;
YAC_RTemplate<_PaHostApiInfo>                  *t_PaHostApiInfo;
sUI                                          clid_PaStream;
YAC_Template <_PaStream>                       *t_PaStream;
sUI                                          clid_PaStreamParameters;
YAC_Template <_PaStreamParameters>             *t_PaStreamParameters;
sUI                                          clid_PortAudio;
YAC_STemplate<_PortAudio>                      *t_PortAudio;

void YAC_CALL YAC_Init_portaudio(YAC_Host *_host) {
	// --------------------------------- classes ---------------------------------
	   t_PaDeviceInfo             =new YAC_RTemplate<_PaDeviceInfo>(_host);
	clid_PaDeviceInfo             =                t_PaDeviceInfo->ctemplate.class_ID;
	   t_PaHostApiInfo            =new YAC_RTemplate<_PaHostApiInfo>(_host);
	clid_PaHostApiInfo            =                t_PaHostApiInfo->ctemplate.class_ID;
	   t_PaStream                 =new YAC_Template <_PaStream>(_host);
	clid_PaStream                 =                t_PaStream->ctemplate.class_ID;
	   t_PaStreamParameters       =new YAC_Template <_PaStreamParameters>(_host);
	clid_PaStreamParameters       =                t_PaStreamParameters->ctemplate.class_ID;
	   t_PortAudio                =new YAC_STemplate<_PortAudio>(_host);
	clid_PortAudio                =                t_PortAudio->ctemplate.class_ID;
	// -------------------------------- functions --------------------------------

}

void YAC_CALL YAC_Exit_portaudio(YAC_Host *_host) {
	delete t_PaDeviceInfo;
	delete t_PaHostApiInfo;
	delete t_PaStream;
	delete t_PaStreamParameters;
	delete t_PortAudio;
}

#endif
