![]() |
![]() ![]() ![]() |
FSOUND_STREAM * F_API FSOUND_Stream_OpenFile(
const char *filename,
unsigned int mode,
int memlength
);
filename | Name of the file to open, or pointer to data if FSOUND_LOADMEMORY is used. |
mode | Simple description of how to play the file. For all formats except raw PCM, FSOUND_LOOP*, FSOUND_HW3D, FSOUND_HW2D, FSOUND_2D, FSOUND_LOADMEMORY, FSOUND_LOADRAW, FSOUND_MPEGACCURATE flags are the only ones supported. |
memlength | Only used if FSOUND_LOADMEMORY is specified in the mode, otherwise leave as 0. This specifies the lengh of the memory block in BYTES being passed if FSOUND_LOADMEMORY is used. |