home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 18
/
aminetcdnumber181997.iso
/
Aminet
/
dev
/
e
/
eaudio.lha
/
eaudio_demo.e
< prev
next >
Wrap
Text File
|
1997-01-05
|
493b
|
29 lines
/* E-Audio demo
By Peter Gordon
This is pish!!
To test it out, just compile this and type:
eaudio <filename>
And any mousebutton exits :)
Byee!
*/
MODULE 'eaudio'
PROC main()
DEF sample,samplen
sample, samplen:=loadRaw(arg)
IF(sample)
playData(sample,samplen,13964,CHAN_LEFT1+CHAN_RIGHT1,64)
WaitTOF()
exitLoop(CHAN_LEFT1+CHAN_RIGHT1)
REPEAT;UNTIL Mouse()
stopChannels(CHAN_LEFT1+CHAN_RIGHT1)
Dispose(sample)
ENDIF
ENDPROC