I use 7.1.4 channel FMOD sound in Unreal 4.
The sound’s FMOD_CHANNELORDER is FMOD_CHANNELORDER_DEFAULT.
I want to change this to FMOD_CHANNELORDER_WAVEFORMAT.
Is there any way?
I use 7.1.4 channel FMOD sound in Unreal 4.
The sound’s FMOD_CHANNELORDER is FMOD_CHANNELORDER_DEFAULT.
I want to change this to FMOD_CHANNELORDER_WAVEFORMAT.
Is there any way?
You can only change a sound’s FMOD_CHANNELORDER
when creating a sound with System::createSound
, by setting the channelorder
in the FMOD_CREATESOUNDEXINFO
exinfo struct. For example:
FMOD_CREATESOUNDEXINFO exinfo = {0};
exinfo.cbsize = sizeof(FMOD_CREATESOUNDEXINFO);
exinfo.channelorder = FMOD_CHANNELORDER_WAVEFORMAT;
FMOD_SOUND *sound;
system->createSound("path/to/mysound.wav", FMOD_DEFAULT, &exinfo, &sound);
EDIT: I have been informed that the FMOD_CHANNELORDER_WAVEFORMAT
is intended for internal use only and will not work with exinfo. As an alternative, if you want to match the speaker layout of FMOD_CHANNELORDER_WAVEFORMAT
then you can use a Channel Mix dsp to assign each channel to the desired speaker.