I use VB6 and Fmod 3.61
This is a problem that I believe that the the forum has been consulted but I didn’t still find the solution.
When I begin Fmod (FSOUND_Init(44100, 2, FSOUND_INIT_GLOBALFOCUS Or FSOUND_INIT_ENABLEOUTPUTFX) everything works correctly included the VU.
When I add FSOUND_INIT_ACCURATEVULEVELS the VU they stop to work.
I am opening a stream with FSOUND_Stream_OpenFile(filename, FSOUND_MPEGACCURATE + FSOUND_STEREO, 0).
(Sorry, my english is bad)
- LeoCombes asked 15 years ago
I’ve fixed this problem before. Search for all instances of fmod.dll on your system, and update them with the new DLL. You’re running your app from the VB IDE, so it’s possible Windows is finding an older version of fmod.dll (for example, in your PATH or Windows\system) before the one in your project folder.
I use FSOUND_GetCurrentLevels 1, left(1), right(1).
The problem is that left(1) and right(1) they always return me 0 (it doesn’t work) WHEN I use FSOUND_INIT_ACCURATEVULEVELS. I proved with Direct Sound and WaveOut and in none of the 2 cases it works.
Without FSOUND_INIT_ACCURATEVULEVELS it works well, but I have a small latency in the VU.
I believe that in another topic of this forum it had been commented that FSOUND_GetCurrentLevels didn’t work with FSOUND_INIT_ENABLEOUTPUTFX, but this doesn’t happen to me.
The problem is when I add FSOUND_INIT_ACCURATEVULEVELS.
GetCurrentLevels return “1” in both cases.
Excuse my English, I speak Spanish.
Please login first to submit.