2008-04-02 19:53:24 -04:00
|
|
|
! Copyright (C) 2007 Chris Double.
|
|
|
|
! See http://factorcode.org/license.txt for BSD license.
|
2010-12-25 19:54:45 -05:00
|
|
|
USING: alien.c-types alien.data alien.syntax combinators
|
|
|
|
generalizations kernel openal openal.alut.backend ;
|
2010-02-17 01:31:21 -05:00
|
|
|
IN: openal.alut.other
|
2008-04-02 19:53:24 -04:00
|
|
|
|
|
|
|
LIBRARY: alut
|
|
|
|
|
2010-09-09 23:36:35 -04:00
|
|
|
FUNCTION: void alutLoadWAVFile ( c-string fileName, ALenum* format, void** data, ALsizei* size, ALsizei* frequency, ALboolean* looping ) ;
|
2008-04-02 19:53:24 -04:00
|
|
|
|
|
|
|
M: object load-wav-file ( filename -- format data size frequency )
|
2010-10-20 18:42:53 -04:00
|
|
|
0 int <ref>
|
2010-10-25 14:22:50 -04:00
|
|
|
f void* <ref>
|
2010-10-20 18:42:53 -04:00
|
|
|
0 int <ref>
|
|
|
|
0 int <ref>
|
|
|
|
[ 0 char <ref> alutLoadWAVFile ] 4 nkeep
|
2010-10-25 14:22:50 -04:00
|
|
|
{ [ int deref ] [ void* deref ] [ int deref ] [ int deref ] } spread ;
|