I am facing a little problem here in a delphi app. I use getcurrentlevels to drive a VU. When I press the play button in my app, the stream plays fine and also does the VU. If I press the STOP button (using Fsound_Stream_Stop(stream), both stream and VU stop (as they should).
But If I press again “PLAY”, only the stream starts playing. The VU does not work. The only workaround I have found (which I do not want to use), is to include in the “play button” routine Fsound_Init and re-initialize the engine everytome “PLAY” is pressed.
Does Fsound_Stream_Stop also closes FSOUND? Probably not since the stream plays again…it is just that Getcurrentlevel does not work….
P.S Fsound_close is not used anywhere
- stavros asked 13 years ago
- You must login to post comments