0
0

Hi !

I’m using FMOD Ex for netstreaming.

I open my sound like this :
[code:48u7bkic]FMOD_System_CreateSound(FMODSystem, IP, FMOD_SOFTWARE or FMOD_2D or FMOD_CREATESTREAM or FMOD_NONBLOCKING, nil, TheSound);[/code:48u7bkic]

When sound is playing and my Internet connection fails (Wifi disconnection), I can’t finalize my sound, because all of these functions freeze my application :
[code:48u7bkic]- FMOD_Channel_Stop(TheChannel);
– FMOD_Sound_Release(TheSound);
– FMOD_System_Release(FMODSystem);[/code:48u7bkic]
Is there a way to finalize my sound properly ?

  • You must to post comments
0
0

I’ve tested this (in C) and what you say doesnt happen. The stream terminates from the stream thread, and the channel stops.

This allows sound release to return normally. What version are you using?

  • You must to post comments
0
0

I use Delphi, and the latest version of FMODEx (I tried 4.06 and 4.07 : same result).

This doesn’t happen all the time on XP. But on Windows 98, it happens each time…

I tried another DLL (Bass.dll) : no problem when disconnecting… I do not understand…

  • You must to post comments
0
0

I did a simple net stream app, and it works fine in XP. But when using the app on Linux (C# mono with linux lib) The app play the stream, but freezes the application.

Code is just plain copy of your C# example.

  • You must to post comments
0
0

Yes ! When disconnecting, it’s always the same sound we hear , it plays and loops all the time, freezing the application.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.