// ---- ying_portaudio_PortAudio.cpp: auto generated by YInG - the YAC interface generator (Sun, 11/Apr/2010 01:46:09)

void  YAC_CALL PortAudio___Initialize(void *                       );
sSI   YAC_CALL PortAudio___GetNumDevices(void *                    );
void  YAC_CALL PortAudio___GetDeviceInfo(void *, yacmemptr, YAC_Value *);
sSI   YAC_CALL PortAudio___GetDefaultInputDeviceIndex(void *       );
sSI   YAC_CALL PortAudio___GetDefaultOutputDeviceIndex(void *      );
sSI   YAC_CALL PortAudio___IsFormatSupported(void *, yacmemptr     );
sSI   YAC_CALL PortAudio___OpenStream(void *, yacmemptr            );
void  YAC_CALL PortAudio___Terminate(void *                        );
sSI   YAC_CALL PortAudio___GetSampleSize(void *, yacmemptr         );

// ------------------ YAC class "_PortAudio" reflection map (implementation) ------------------
sUI          YAC_VCALL _PortAudio::yacMemberGetNum                  (void) {return 0;}
const char **YAC_VCALL _PortAudio::yacMemberGetNames                (void) {return 0;}
const sUI   *YAC_VCALL _PortAudio::yacMemberGetTypes                (void) {return 0;}
const char **YAC_VCALL _PortAudio::yacMemberGetObjectTypes          (void) {return 0;}
const sU8  **YAC_VCALL _PortAudio::yacMemberGetOffsets              (void) {return (const sU8**)0;}
sUI          YAC_VCALL _PortAudio::yacMethodGetNum                  (void) {return 10;}
const char **YAC_VCALL _PortAudio::yacMethodGetNames                (void) {static const char *r[]={"operator", "Initialize", "GetNumDevices", "GetDeviceInfo", "GetDefaultInputDeviceIndex", "GetDefaultOutputDeviceIndex", "IsFormatSupported", "OpenStream", "Terminate", "GetSampleSize"}; return r;}
const sUI   *YAC_VCALL _PortAudio::yacMethodGetNumParameters        (void) {static const sUI r[]={2, 0, 0, 1, 0, 0, 3, 5, 0, 1}; return r;}
const sUI  **YAC_VCALL _PortAudio::yacMethodGetParameterTypes       (void) {static const sUI rt0[]={1,3};static const sUI rt1[]={0,};static const sUI rt2[]={0,};static const sUI rt3[]={1,};static const sUI rt4[]={0,};static const sUI rt5[]={0,};static const sUI rt6[]={3, 3, 2,};static const sUI rt7[]={3, 3, 2, 3, 3,};static const sUI rt8[]={0,};static const sUI rt9[]={1,};static const sUI *r[]={rt0, rt1, rt2, rt3, rt4, rt5, rt6, rt7, rt8, rt9}; return r;}
const char***YAC_VCALL _PortAudio::yacMethodGetParameterObjectTypes (void) {static const char *rs0[]={0,"",};static const char *rs1[]={(const char*)0,};static const char *rs2[]={(const char*)0,};static const char *rs3[]={(const char*)0,};static const char *rs4[]={(const char*)0,};static const char *rs5[]={(const char*)0,};static const char *rs6[]={(const char*)0, (const char*)0, (const char*)0,};static const char *rs7[]={(const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0,};static const char *rs8[]={(const char*)0,};static const char *rs9[]={(const char*)0,};static const char**r[]={rs0, rs1, rs2, rs3, rs4, rs5, rs6, rs7, rs8, rs9}; return r;}
const sUI   *YAC_VCALL _PortAudio::yacMethodGetReturnTypes          (void) {static const sUI r[]={4, 0, 1, 4, 1, 1, 1, 1, 0, 1}; return r;}
const char **YAC_VCALL _PortAudio::yacMethodGetReturnObjectTypes    (void) {static const char *r[]={"", (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0}; return r;}
const void **YAC_VCALL _PortAudio::yacMethodGetAdr                  (void) {static const void *r[]={(void*)Object__operator, (void*)PortAudio___Initialize, (void*)PortAudio___GetNumDevices, (void*)PortAudio___GetDeviceInfo, (void*)PortAudio___GetDefaultInputDeviceIndex, (void*)PortAudio___GetDefaultOutputDeviceIndex, (void*)PortAudio___IsFormatSupported, (void*)PortAudio___OpenStream, (void*)PortAudio___Terminate, (void*)PortAudio___GetSampleSize}; return r;}
sUI          YAC_VCALL _PortAudio::yacConstantGetNum                (void) {return 6;}
const char **YAC_VCALL _PortAudio::yacConstantGetNames              (void) {static const char*r[]={"PA_FLOAT32", "PA_INT32", "PA_INT24", "PA_INT16", "PA_INT8", "PA_UINT8"}; return r;}
const sUI   *YAC_VCALL _PortAudio::yacConstantGetTypes              (void) {static const sUI r[]={1, 1, 1, 1, 1, 1}; return r;}
yacmemptr    YAC_VCALL _PortAudio::yacConstantGetValues             (void) {static sUI r[6]; yacmemptr m; m.ui=r; m.si[0]=(sSI)paFloat32;m.si[1]=(sSI)paInt32;m.si[2]=(sSI)paInt24;m.si[3]=(sSI)paInt16;m.si[4]=(sSI)paInt8;m.si[5]=(sSI)paUInt8;; return m;}

YAC_C(_PortAudio, "PortAudio");

void  YAC_CALL PortAudio___Initialize(void *_o                               ) {((_PortAudio*)_o)->_Initialize();}
sSI   YAC_CALL PortAudio___GetNumDevices(void *_o                            ) {return (sSI)((_PortAudio*)_o)->_GetNumDevices();}
void  YAC_CALL PortAudio___GetDeviceInfo(void *_o, yacmemptr _args, YAC_Value *_r) {((_PortAudio*)_o)->_GetDeviceInfo(_args.mem[0].si, _r);}
sSI   YAC_CALL PortAudio___GetDefaultInputDeviceIndex(void *_o               ) {return (sSI)((_PortAudio*)_o)->_GetDefaultInputDeviceIndex();}
sSI   YAC_CALL PortAudio___GetDefaultOutputDeviceIndex(void *_o              ) {return (sSI)((_PortAudio*)_o)->_GetDefaultOutputDeviceIndex();}
sSI   YAC_CALL PortAudio___IsFormatSupported(void *_o, yacmemptr _args       ) {return (sSI)((_PortAudio*)_o)->_IsFormatSupported(_args.mem[0].o, _args.mem[1].o, _args.mem[2].f4);}
sSI   YAC_CALL PortAudio___OpenStream(void *_o, yacmemptr _args              ) {return (sSI)((_PortAudio*)_o)->_OpenStream(_args.mem[0].o, _args.mem[1].o, _args.mem[2].f4, _args.mem[3].o, _args.mem[4].o);}
void  YAC_CALL PortAudio___Terminate(void *_o                                ) {((_PortAudio*)_o)->_Terminate();}
sSI   YAC_CALL PortAudio___GetSampleSize(void *_o, yacmemptr _args           ) {return (sSI)((_PortAudio*)_o)->_GetSampleSize(_args.mem[0].si);}
