0
0

I have a working player using FModEx, and recently wanted to add internet radio support. However when I call FMOD_System_CreateSound to open the stream, the application hangs for at least one minute and crashes later (which may be my fault). I tried to reproduce the problem with the ripnetstream vb example, because I thought it’s because of invalid parameters/flags etc, but seems to work there.

I’ve uploaded the log file and the test application:
http://www.ctuser.net/_tmp/streamhangs.log (when hanging)
http://www.ctuser.net/_tmp/streamhangs.zip
http://www.ctuser.net/_tmp/streamhangs2.log (crashed afterwards)
Debug level: ff

btw, logfile says
FMOD: SystemI::recordStop : done
but no recording is used…?

  • You must to post comments
0
0

Your stream buffersize is 131072ms .. thats like 12mb of data it is trying to read from the net, so yeah that would take a while :S

Just because it says record stop is not a problem, it just probably skipped past everything to do with the recording process due to nothing being executed. System::close shuts down all systems.

  • You must to post comments
0
0

When I ran it through MSVC debugger it didnt crash, it actually waited for a long time and filled the megabytes of stream buffer and went back to the gui. The crash is probably something to do with VB memory management.

I set it to FMOD_TIMEUNIT_RAWBYTES which is what I assume you meant.

It didnt play though. It was started paused and I couldnt seem to unpause it using your gui.
edit: hacked to not pause it, at 131kb rawbytes it played fine.

You should probably use FMOD_NONBLOCKING btw to avoid any main thread stalls while the stream buffers.

  • You must to post comments
0
0

Thanks for your help, just fixed it.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.