0
0

i em workin’ on sound for our freew game in delphi6, but i ‘ve got problem with set speaker mode (surround, stereo, etc) – there iz declared enumerate type TFSoundSpeakerModes, but in head file is function FSOUND_SetSpeakerMode which uses parameter SpeakerMode: Cardinal.
what i have to pass to this function?
please help ๐Ÿ˜•

  • You must to post comments
0
0

You can either change the Cardinal parameter type to TFSoundSpeakerMode or use the Ord() function to get the ordinal value of the enumerated type, eg.

FSOUND_SetSpeakerMode(Ord(FSOUND_SPEAKERMODE_5POINT1));

I will fix this for the next release of FMOD.

  • You must to post comments
0
0

thanx! ๐Ÿ˜†

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.