fmonro@gara.une.oz.au (F J Monro) (05/25/91)
From article <1991May17.191647.20537@clinet.fi>, by dix@clinet.fi (Risto Kaivola): > /* ID typedef and builder for 68000 Lattice C. */ > typedef LONG ID; /* 4 chars in ' ' through '~' */ > #define MakeID(a,b,c,d) ( (a)<<24 | (b)<<16 | (c)<<8 | (d) ) Thanks to everyone who replyed to my posting. The above is the correct answer, It is defined in iff.h, but I missed it because I was looking for a function, rather than a macro. Anyway, Ive got the sample playing example going. Now my only problem is how to split it up into one function to read a sample into memory, and another which plays it whenever it is called... Thanks again! -(Che) Franz Joseph Monro, | At UNE - The University of fmonro@gara.une.oz.au | fmonro@neumann.une.oz.au | New England, Armidale Aust.