! Copyright (C) 2007 Chris Double. ! See http://factorcode.org/license.txt for BSD license. USING: alien.c-types alien.data kernel alien alien.syntax shuffle openal openal.alut.backend namespaces system generalizations ; IN: openal.alut.macosx LIBRARY: alut FUNCTION: void alutLoadWAVFile ( c-string fileName, ALenum* format, void** data, ALsizei* size, ALsizei* frequency ) M: macosx load-wav-file ( path -- format data size frequency ) 0 int f void* 0 int 0 int [ alutLoadWAVFile ] 4 nkeep [ [ [ int deref ] dip void* deref ] dip int deref ] dip int deref ;