0
0

Would it be possible to add the

ifdef GNUC

attribute ((unused))

endif

before “static char *FMOD_ErrorString(FMOD_RESULT errcode)” in fmod_errors.h, or something equivalent?

The warning is annoying, and I’ll end up manually adding those lines at every new release. Are there any drawbacks?

Davide

  • You must to post comments
0
0

Correction to Delphi code – FMOD_DSP_GetInfo
[code:ybljxh2s]
function FMOD_DSP_GetInfo(dsp: FMOD_DSP; var format: FMOD_SOUND_FORMAT; var bitspersample: Integer): FMOD_RESULT; stdcall;

should be:

function FMOD_DSP_GetInfo(dsp: FMOD_DSP; name:PChar; var version: cardinal; var channels:integer; var configwidth:integer; var configheight:integer): FMOD_RESULT; stdcall;

[/code:ybljxh2s]

  • You must to post comments
0
0

I’ve recently swapped over to using FMOD_ACCURATETIME in my createStream call. This now works fine for all my local media files, however if I now try to open a net stream, it seems to freeze in Fmod somewhere, or in mswsock.dll. I’m assuming its probably trying to download the entire file so it can calculate the time, however It will never finish if it tries to do this with a Radio stream.

If I remove FMOD_ACCURATETIME and attempt to play the net stream it works just fine. (I chose a stream from shoutcast.com)

Is this a bug, or should I not be using AccurateTime if I detect the user is trying to play a URL?

Cliff :)

  • You must to post comments
0
0

API ref/FMOD ex API ref/Enumerations/FMOD_OUTPUTTYPE states for WAVWRITES that the output goes to fmodout.wav, in practice 4.00.34 (haven’t check 4.00.35) goes to fmodoutput.wav. It also says to use System::setSoftwareFormat() to specify the filename, which is not possible with that function.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.