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…
- Adion asked 13 years ago
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 ?
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 😉
- slajar answered 13 years ago
Please login first to submit.