Hi,
I wanna rip a cd controlled from a GUI (select the track, start, see some feedback percentage …). To accomplish this it is nessecary that the riping process doesn’t block. I tried to use the nonblocking but this doesn’t work for me. After setting the FSOUND_Stream_SetSubStream(stream, track_num);
i always get a -2 as openstate.
Doesn’t fmod support the FSOUND_SetOutput(FSOUND_OUTPUT_NOSOUND_NONREALTIME); in comibination with NONBLOCKING stream open?
Is there possbily another solution/way?
Is my code wrong?

youre right with your answer when the software is running in an environment like cddarip. My environment is a bit different. I’m calling the C Code via JNI from a Java GUI application. And this call may not block as the GUI needs some feedback from the rip process (percentage etc.). BTW this works perferctly for i.e. playing a MP3 stream etc.

Does your answer mean that it isn’t possible to rip in NONBLOCKING mode?

The ripping process isn’t blocking in the cddarip example. It shows the percentage ripped as it’s ripping which sounds exactly like what you want to do. It’s exactly the same as playing a stream. I don’t see what’s causing the problem?