#include #include struct Library *LucyPlayBase = NULL; int main(int argc, UBYTE **argv) { LucyPlaySample *smp; if (argc > 1) { if (LucyPlayBase = (struct Library *)OpenLibrary("lucyplay.library", 1)) { if (lucAudioInit()) { if (smp = lucAudioLoad(argv[1])) { lucAudioPlay(smp); lucAudioWait(); } lucAudioKill(); } CloseLibrary(LucyPlayBase); } } return(0); }