0
0

Dear sir

I update from 4.04.12 to 4.08.09 and now i have some problems

  1. overridemute ist gone so is there any similarly or fallback function
    in the newer version or what can i do to emulate it ?

  2. but the main problem is that createSound now returns error code
    25 = FMOD_ERR_FORMAT.
    I try to open an ogg file with the following options

createSound( "test.ogg", FMOD_LOOP_OFF | FMOD_2D | FMOD_SOFTWARE | FMOD_CREATESTREAM, NULL, &pSound)

btw i am using an virtuel file system and callbacks (they will be return the correct values like size and msg). I test the play back of the ogg file with one of the examples of the newer version and it works nice.

So whats happen ?

PS: are there any older versions so that i can test these, some thing like 4.06.x or what things are changed in the createSound function

thx & greets
Rose

  • You must to post comments
0
0

for overridemute. Look in the class, there is setMute. It is better than overrideMute.

For your ogg, if it works in the examples, then the problem is probably in your file callbacks. Disable your file callbacks to test, then look at fmod’s example file callbacks in the /examples/filecallbacks directory.

  • You must to post comments
0
0

Dear sir

thanks for the fast answer. Problem one seems to be solved thanks. ๐Ÿ˜€
But problem two remains existing unfortunately.
I check the log file and open/read/seek/close output seems to be ok.
I double check callbacks but i can not find any thing that is wrong.
So i can not understand whats going wrong from old to new fmodex version. ๐Ÿ˜•
But it is late so i will take a look next day.

greets
Rose

  • You must to post comments
0
0

I convert the ogg file to mp3 and wav it works perfectly with the same callback function as before.
So what has changed in "fmodex ogg tag seek function" from old to new version?

I test the ogg file with the filecallbacks.exe (newer version) from the examples directory and i rename my
ogg file to wave.mp3 and i must say it plays without any problem.
Now I am totaly confused.

Greets
Rose

  • You must to post comments
0
0

so i will switch back to old 4.04.12 version ๐Ÿ˜ฅ

summary

version 4.04.12
– ogg playback working
– mp3 playback working
– wav playback working
– example filecallbacks.exe with ogg file working

version 4.08.09
– ogg playback not working
– mp3 playback working
– wav playback working
– example filecallbacks.exe with ogg file working

btw can anyone give me a older version something like
4.05.xx, 4.06.xx, 4.07.xx for examining purposes

Greets
Rose

  • You must to post comments
0
0

Didn’t you just say it works with the provided fmod example? That should be an obvious indicator that there is something wrong with your callbacks as I said the first time. Correct me if i’m wrong.

Probably to do with the fact that EOF behaviour may have changed, or seeing as you’re talking about 4.04 which is an ancient version, I think since then the filesize has to be passed into the open callback. Just compare the example’s callbacks with yours.

  • You must to post comments
0
0

I had the same problem(Wii version). I was using 4.06.18 and then updated to 4.08.08 and also tried 4.08.09. I rebuilt all of my data and got the same error(FMOD_ERR_FORMAT). I could use my new data in a sample app and it would work, but in our game I just could not get it to work and eventually went back to the old version. When I debug the app the file read just eventually gave up, it would go through a few getOpenState calls, but would eventually return with FMOD_ERR_FORMAT. I was calling createStream and then using getOpenState to seen when it was ready, all of my files are fsb files. I happened to have 4.06.20 and 4.06.22 and both of those versions worked, but they have other issues that prevent them from being used in a shipping title. I still have not been able to use a new version. This may not help solve the issue, but you’re not the only one that has seen this problem.

Cheers
Stephen

  • You must to post comments
0
0

There was a problem with loading files in the 4.08 branch of the Wii version. This has been fixed for our next release which should be the end of today.

  • You must to post comments
0
0

We’re using 4.08.09 with file callbacks (as we read the data from a database). The file format is ogg.

This sounds like what you try to do, but I don’t get any format errors.

Double check that you have zeroed out the FMOD_CREATESOUNDEXINFO structure and set the members as they should be.

For one thing, I explicitly set
m_exinfo.suggestedsoundtype = FMOD_SOUND_TYPE_OGGVORBIS;

Oh, and good luck.

  • You must to post comments
Showing 8 results
Your Answer

Please first to submit.