I’m develope a Information service with dynamically generated voice-files for each Infozone and visitor under .Net Compact Framework C#. PDA devices are Compaq 3970, MDA, MDAII, MDA III, MDA IV and MDA compact. The generated mp3-files have 16000Hz Mono and 24Kbits. I wrote a wrapper class that give .Net the ability to handle unmanaged code. Everything just works fine, until I start to Play mp3-Files. I got the StreamHandle, correct return values from FSOUND_Stream_SetBufferSize and FSOUND_Init. But everytime I start to Play mp3 I’ll get as return value -1. I try diffrent fmodce.dll’s, but no success. Any suggestion, cause I don’t want to handle this via processes and WindowsMediaPlayer? In my opinion this is not a alpha solution (processes) and should use as fallback.
I put my code for review in this Post.
const int FSOUND_FREE=-1;
filehandle=FMod.FSOUND_Stream_Open(URL,(uint)FSOUND_MODES.FSOUND_NORMAL | (uint)FSOUND_MODES.FSOUND_NONBLOCKING | (uint)FSOUND_MODES.FSOUND_SIGNED,0,0);
- d_gerst asked 12 years ago
I know the features of non blocking flags. If I use FMod.FSOUND_Stream_GetOpenState(filehandle) I always get -3.
If I disable non blocking flags I don’t get a valid stream- or filehandle. I tried many combinations of flags, but without success. Do FMOD not support http redirects? Did I do something completly wrong?
you wrote in a other topic:
theoretically we could probably just enable the win32 netstreaming code in winCE. It should work, i think i was just worried about the size.
edit: actually it wont work because we havent set up the fixed point mp3 and ogg decoders to use internet streaming. maybe it can be done with a bit of tweaking but we’re concentrating a lot more on fmod ex right now.. for fmod 3.75 i might try and sneak it in only if it is possible
Did you fix it or it is still not supported by FMODCE?
Please login first to submit.