0
0

hi brett,

everything seems fine, except the useplugins demo.

when i start your original demo, i get:
Die Anwendung konnte nicht gestartet werden, weil MSVCRTD.dll nicht gefunden wurde.
(=Application can’t start because of missing MSVCRTD.dll)
when calling FMOD_System_LoadPlugin(system, “output_mp3.dll”)

i tryied to compile the output_mp3.dll again, puttet it into the same directory as the usepugins demo, then changed the setpluginpath to FMOD_System_SetPluginPath(system, “.”)
then i get:
FMOD error! (20) Unsupported file or audio format.
when calling FMOD_System_CreateSound(system, “../media/wave.mp3″…

any ideas?

i don’t habe VC6 installed, and i think MSVCRTD.dll calls like VC6.
I use VC7, WinXP german.

bye,
Thomas.

ps: sorry about this, maybe its only my VC7 problem…all the new features sound great :-)

  • You must to post comments
0
0

Great new features there Brett! 😀 Particularly happy to see ASIO making a comeback as something that I use regularly.

  • You must to post comments
0
0

Any ASIO playback snippets yet?

  • You must to post comments
0
0

FMOD_Channel_SetTime / FMOD_Channel_SetPosition. The stream is set to new position, but function gives Access Violation. (Delphi)

  • You must to post comments
0
0

I had a look at the examples, but for ASIO there are Max 16 channels. All examples use up to 8 channels. also I couldn’t figure out how to get the number of channels available for the selected Asio output.

Output on ASIO is no problem, just selection to which output the sound is going.

  • You must to post comments
0
0

Thanks, that should do the trick. Still one question left, how to find the number of Asio outputs available?

  • You must to post comments
0
0

About the SetPosition problem (with delphi anyway, since there are no pre-compiled examples which use the SetPosition) this is what I do

FMOD_System_Create( oFMSystem );
FMOD_System_setSpeakerMode( oFMSystem, FMOD_SPEAKERMODE_7POINT1 );
FMOD_System_init( oFMSystem, 32, 16, FMOD_INIT_NORMAL or FMOD_INIT_GLOBALFOCUS, Nil );
FMOD_System_createSound(oFMSystem, ‘c:\Test.mp3’, FMOD_SOFTWARE or FMOD_2D, oFMsound );
FMOD_System_playSound( oFMSystem, FMOD_CHANNEL_FREE, oFMsound, true, oFMchannel );
FMOD_Channel_setPaused( oFMchannel, false );

The sound is playing fine, but when I execute the next line an Access Violation is presented, the stream skips to the requested point.

FMOD_Channel_SetPosition( oFMChannel, 44100 * 16, true );

Any ideas?

Edit.

Never mind, found the problem. The FMOD.PAS definition of SetPosition and SetTime is wrong. The last parameter isn’t supported anymore.

  • You must to post comments
0
0

Don’t forget these….

function FMOD_DSP_SetDefaults (dsp: FMOD_DSP; frequency, volume, pan, levels, priority, weight : Integer): FMOD_RESULT; stdcall;
function FMOD_DSP_GetDefaults (dsp: FMOD_DSP; var frequency : Integer ; var volume : Integer ; var pan : Integer ; var levels : Integer ; var priority : Integer ; var weight : Integer): FMOD_RESULT; stdcall;

  • You must to post comments
0
0

And more…

Wrong definition:

function FMOD_DSP_SetDefaults (dsp: FMOD_DSP; frequency, volume, pan, levels, priority, weight : Integer): FMOD_RESULT; stdcall;

function FMOD_DSP_GetDefaults (dsp: FMOD_DSP; var frequency: Integer; var volume: Integer; var pan: Integer; var levels: Integer; var priority: Integer; var weight : Integer): FMOD_RESULT; stdcall;

function FMOD_Sound_GetLength (sound: FMOD_SOUND; var lengthPCM: Cardinal ; var lengthbytes : Cardinal; var lengthMs: Cardinal ): FMOD_RESULT; stdcall;

Missing:

function FMOD_Sound_GetNumTags (sound: FMOD_SOUND; var numtags, numtagsupdated : Integer): FMOD_RESULT; stdcall;

function FMOD_Sound_GetTag (sound: FMOD_SOUND; const name : PChar ; index : Integer; var tag : FMOD_TAG): FMOD_RESULT; stdcall;

function FMOD_Sound_GetNumTags ; external FMOD_DLL;
function FMOD_Sound_GetTag ; external FMOD_DLL;

No longer available?

function FMOD_Sound_GetLengthMs

  • You must to post comments
Showing 8 results
Your Answer

Please first to submit.