1 ! Copyright (C) 2007 Chris Double.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: alien.c-types kernel alien alien.syntax shuffle
4 combinators.lib openal.backend namespaces system ;
9 FUNCTION: void alutLoadWAVFile ( ALbyte* fileName, ALenum* format, void** data, ALsizei* size, ALsizei* frequency ) ;
11 M: macosx load-wav-file ( path -- format data size frequency )
12 0 <int> f <void*> 0 <int> 0 <int>
13 [ alutLoadWAVFile ] 4keep
14 >r >r >r *int r> *void* r> *int r> *int ;