0
0

I’m not sure why yet, but all sounds that I create with createSound in Visual Basic give an Unsupported file or audio format error. (Initialized with a specific directsound device, opened using FMOD_SOFTWARE Or FMOD_2D Or FMOD_CreateStream)
It does this for both mp3’s and ogg’s, haven’t tested wav’s.

When I change the openStream visual basic example from FMOD_HARDWARE to FMOD_SOFTWARE there are no errors, but I don’t hear any sound.
In FMOD_HARDWARE it plays fine.

Also, sounds created from within c++ (NOSOUND output, just for read/seekdata) work perfectly.

I haven’t changed any of my code, and it worked in previous betas, so I’m not sure where to look…

  • You must to post comments
0
0

Ok, it seems to only give this error when I’m trying to load the file from memory (I open the file myself into memory, and then pass the pointer to the memory to fmod)

If I switch to the 4.00.26 dll it works.

  • You must to post comments
0
0

Hi,

I have the same problem with createsound. Load from memory give unsupported file format, the offset parameter makes it hang.

So nothing works for me now :(

In 4.0.26 it works fine, except the offset parameter of course.

David

  • You must to post comments
0
0

Hello !

I’m using FMOD Ex to uncompress data.

I’m using ReadData and SeekData for that.

Everything works OK, but sometimes, ReadData throws some exceptions, and my reading thread gets killed… quite annoying ! Sometimes, SeekData throws me exceptions too…

I think I’m using it correctly, but because I don’t have any example, I can only assume it’s OK…

I’m using a Marshal.AllocHGlobal to allocate a buffer for unmanaged code, then I use Marshal.Copy to copy the buffer after having called ReadData and finally, Marshal.FreeHGlobal the buffer…

Is it a known bug ? Do you have some examples on how to use ReadData and SeekData correctly (I’m using C#) ?

Secondly, I have some problems with tags. Somethings, FMOD won’t read the tags. Calling the function a second time works… or not. It’s quite random. Sometimes yes, sometimes no.

The tags I’m trying to read are ID3 V1 from MP3.

The code I’m using is the one from the example (that gets the number of tags and calls get_tag for each one), except I have a file chooser.

When I try to read the tags from the same files, sometimes it works, sometimes it doesn’t… Not working means that some parts of the tags are NULL… (I can have the artist but not the title, or nothing, or both).

Is it a known bug ?

Thanks !!!

  • You must to post comments
0
0

hi,

I just encountered the same userdata problem with FMOD::DSP as I have seen with FMOD::Channel before. The pointer I set is not the same as the Pointer I get back with getUserData(). The userdata field in FMOD_DSP_DESCRIPTION would be beatiful too 😉

best regards
Matthias

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.