I’m programming a little application and i wanna ply an mp3 file with fmod but i wanna use fread() routines…
I just wanna know how i can use the data stored in the buffer returned by fread().
I’ve tried FSOUND_Sample_Upload and FSOUND_Play_Song()…But it doesn’t work…Or it’s my buffer size, in fread() function, is too small or too large (i use a char for my buffer)….
Thanks for helping me…
- adrenalinedj asked 14 years ago
Yes, i’ve tried but i don’t need it…
I wanna use Samples but it doesn’t work with a code like this:
int main (void)
len=fread(temp, 1, 1024, fdesc);
//need fmod routines to play the buffer
The goal of this program is to send the buffer in a socket and play it on another machine (like an audio streaming server)…
- adrenalinedj answered 14 years ago
Please login first to submit.