#include <stdio.h>
#include "../winuser.h"
int _CRmulti(mmachine m)
{ m->pp+=8;return MMpush(m,NIL); }
int _PLAYmulti(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _PAUSEmulti(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _DSmulti(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SETmultiXYsource(mmachine m)
{ m->pp+=5;return MMpush(m,NIL); }
int _GETmultiXYsource(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SETmultiXYdest(mmachine m)
{ m->pp+=5;return MMpush(m,NIL); }
int _GETmultiXYdest(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SETmultiXYwin(mmachine m)
{ m->pp+=5;return MMpush(m,NIL); }
int _GETmultiXYwin(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _EJECTmulti(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _PLAYmultiFrom(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _PLAYmultiFromTo(mmachine m)
{ m->pp+=3;return MMpush(m,NIL); }
int _PLAYmultiReverse(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _PLAYmultiTo(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _SETmultiRepeat(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _GETmultiRepeat(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SETmultiEnd(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _GETmultiEnd(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _GETmultiLength(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _GETmultiPosition(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _GETmultiStart(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SETmultiHome(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SEEKmulti(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _STEPmulti(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _GETmultiSpeed(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _GETmultiVolume(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _GETmultiZoom(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SETmultiSpeed(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _SETmultiVolume(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _SETmultiZoom(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _GETmultiTimeFormat(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SETmultiUseFrames(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SETmultiUseTime(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SETmultiUseTracks(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SETmultiUseSamples(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SETmultiUseBytes(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _GETmultiCanEject(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _GETmultiCanPlay(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _GETmultiMode(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SETmultiReflexMode(mmachine m)
{ m->pp+=3;return MMpush(m,NIL); }
int _CDAUDIO(mmachine m)
{ m->pp+=0;return MMpush(m,NIL); }
int _DIGITALVIDEO(mmachine m)
{ m->pp+=0;return MMpush(m,NIL); }
int _VCR(mmachine m)
{ m->pp+=0;return MMpush(m,NIL); }
int _VIDEODISC(mmachine m)
{ m->pp+=0;return MMpush(m,NIL); }
#define NwavePKG 58
char* wavename[NwavePKG]=
{"Multi","Media","_CRmulti","_PLAYmulti","_PAUSEmulti","_DSmulti","_SETmultiXYsource","_GETmultiXYsource","_SETmultiXYdest","_GETmultiXYdest","_SETmultiXYwin","_GETmultiXYwin","_EJECTmulti","_PLAYmultiFrom","_PLAYmultiFromTo","_PLAYmultiReverse","_PLAYmultiTo","_SETmultiRepeat","_GETmultiRepeat","_SETmultiEnd","_GETmultiEnd","_GETmultiLength","_GETmultiPosition","_GETmultiStart","_SETmultiHome","_SEEKmulti","_STEPmulti","_GETmultiSpeed","_GETmultiVolume","_GETmultiZoom","_SETmultiSpeed","_SETmultiVolume","_SETmultiZoom","_GETmultiTimeFormat","_SETmultiUseFrames","_SETmultiUseTime","_SETmultiUseTracks","_SETmultiUseSamples","_SETmultiUseBytes","_GETmultiCanEject","_GETmultiCanPlay","_GETmultiMode","_SETmultiReflexMode","_CDAUDIO","_DIGITALVIDEO","_VCR","_VIDEODISC","MEDIA_MODE_NOTREADY","MEDIA_MODE_STOP","MEDIA_MODE_PLAY","MEDIA_MODE_SEEK","MEDIA_MODE_PAUSE","MEDIA_MODE_OPEN","FORMAT_BYTES","FORMAT_FRAMES","FORMAT_MILLISECONDS","FORMAT_SAMPLES","FORMAT_TRACKS"};
int (*wavefun[NwavePKG])(mmachine m)=
{NULL,NULL,_CRmulti,_PLAYmulti,_PAUSEmulti,_DSmulti,_SETmultiXYsource,_GETmultiXYsource,_SETmultiXYdest,_GETmultiXYdest,_SETmultiXYwin,_GETmultiXYwin,_EJECTmulti,_PLAYmultiFrom,_PLAYmultiFromTo,_PLAYmultiReverse,_PLAYmultiTo,_SETmultiRepeat,_GETmultiRepeat,_SETmultiEnd,_GETmultiEnd,_GETmultiLength,_GETmultiPosition,_GETmultiStart,_SETmultiHome,_SEEKmulti,_STEPmulti,_GETmultiSpeed,_GETmultiVolume,_GETmultiZoom,_SETmultiSpeed,_SETmultiVolume,_SETmultiZoom,_GETmultiTimeFormat,_SETmultiUseFrames,_SETmultiUseTime,_SETmultiUseTracks,_SETmultiUseSamples,_SETmultiUseBytes,_GETmultiCanEject,_GETmultiCanPlay,_GETmultiMode,_SETmultiReflexMode,_CDAUDIO,_DIGITALVIDEO,_VCR,_VIDEODISC,(void*)1048,(void*)1050,(void*)1052,(void*)1056,(void*)1058,(void*)1060,(void*)16,(void*)6,(void*)0,(void*)18,(void*)20};
int wavenarg[NwavePKG]=
{TYPTYPE,TYPTYPE,8,1,1,1,5,1,5,1,5,1,1,2,3,1,2,2,1,1,1,1,1,1,1,2,2,1,1,1,2,2,2,1,1,1,1,1,1,1,1,1,3,0,0,0,0,TYPVAR,TYPVAR,TYPVAR,TYPVAR,TYPVAR,TYPVAR,TYPVAR,TYPVAR,TYPVAR,TYPVAR,TYPVAR};
char* wavetype[NwavePKG]=
{NULL,NULL,"fun [Chn ObjWin I I I I P Media] Multi","fun [Multi] Multi","fun [Multi] Multi","fun [Multi] I","fun [Multi I I I I] Multi","fun [Multi] [I I I I]","fun [Multi I I I I] Multi","fun [Multi] [I I I I]","fun [Multi I I I I] Multi","fun [Multi] [I I I I]","fun [Multi] Multi","fun [Multi I] Multi","fun [Multi I I] Multi","fun [Multi] Multi","fun [Multi I] Multi","fun [Multi I] Multi","fun [Multi] I","fun [Multi] Multi","fun [Multi] I","fun [Multi] I","fun [Multi] I","fun [Multi] I","fun [Multi] Multi","fun [Multi I] Multi","fun [Multi I] Multi","fun [Multi] I","fun [Multi] I","fun [Multi] I","fun [Multi I] Multi","fun [Multi I] Multi","fun [Multi I] Multi","fun [Multi] I","fun [Multi] Multi","fun [Multi] Multi","fun [Multi] Multi","fun [Multi] Multi","fun [Multi] Multi","fun [Multi] I","fun [Multi] I","fun [Multi] I","fun [Multi fun [Multi u0 I] u1 u0] Multi","fun [] Media","fun [] Media","fun [] Media","fun [] Media","I","I","I","I","I","I","I","I","I","I","I"};
int SCOLloadwave(mmachine m)
{
return PKhardpak(m,"wave.pkg",NwavePKG,wavename,wavefun,wavenarg,wavetype);
}
