0
0

Hi,

we’ve got a strange fmod behaviour when using setSoftwareFormat setting the parameter numoutputchannels != 0.

In this case the events doesn’t react on any event parameter changes. Once numoutputchannels is 0 everything works fine.
Even if we use getSoftwareFormat and set the same value for numoutputchannels as we get return we have the same issue.

Is this a bug in fmod?

Regards,
Sascha.

  • You must to post comments
0
0

Hi, This is covered in the documentation.

‘numoutputchannels’ The number of output channels / speakers to initialize the soundcard to. 0 = keep speakermode setting (set with System::setSpeakerMode). If anything else than 0 is specified then [b:152xwf2b]the speakermode will be overriden and will become FMOD_SPEAKERMODE_RAW, meaning logical speaker assignments (as defined in FMOD_SPEAKER) become innefective and cannot be used. Channel::setPan will also fail[/b:152xwf2b]. Default = 2 (FMOD_SPEAKERMODE_STEREO).

  • You must to post comments
0
0

But does that also mean that changing the volume of channels (we use a multi channel wave file) by parameters doesn’t work?

  • You must to post comments
0
0

depends how you do it. You dont specify if you use setSpeakerMix (wont work because it doesnt know the pan mapping) or setInputChannelMix or setSpeakerLevels, which would be the most appropriate function if you’re in raw mode. Is there a reason you want raw mode?

  • You must to post comments
0
0

No, we don’t need raw mode … we just stepped into it by accident and then tried to understand the fmod behaviour.

Thanks for the explanations. We’ll set the parameter in setSoftwareFormat to 0.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.