Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!munnari.oz.au!metro!grivel!gara!fmonro From: fmonro@gara.une.oz.au (F J Monro) Newsgroups: aus.computers.amiga,comp.sys.amiga.programmer Subject: Thanks all, was: Re: Where is MakeID() defined? iff.h?? Message-ID: <6583@gara.une.oz.au> Date: 25 May 91 03:16:07 GMT Article-I.D.: gara.6583 References: <1991May17.191647.20537@clinet.fi> Distribution: aus Organization: University of New England, Armidale, Australia Lines: 16 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.