factor/extra/openal/alut/other/other.factor

18 lines
632 B
Factor
Raw Normal View History

2008-04-02 19:53:24 -04:00
! Copyright (C) 2007 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
USING: alien.c-types alien.data alien.syntax combinators
generalizations kernel openal openal.alut.backend ;
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 ;