I have a byte* with the file to read in it, how do i pass it to FMUSIC_LoadSongEx? this doesnt work:
FMOD_Song = FMUSIC_LoadSongEx( (char *)FMOD_Data, 0, sizeof(FMOD_File), FSOUND_LOADMEMORY, NULL, 0 );[/code:1daq9e7r]
no, i cant change the way the file is read
- deathz0rz asked 14 years ago
[quote="brett":1o6myunz]hi, sizeof(FMOD_File) is not the size of the file, it is the size of the pointer by the looks of it and is probably going to be 4.[/quote:1o6myunz]
yes indeed, thats the problem i have; but i cant use stat() , because the file is not directly on my HD.
Please login first to submit.