Firelight Technologies FMOD Studio API
FMOD_CHANNELORDER
When creating a multichannel sound, FMOD will pan them to their default speaker locations, for example a 6 channel sound will default to one channel per 5.1 output speaker.
Another example is a stereo sound. It will default to left = front left, right = front right.
This is for sounds that are not 'default'. For example you might have a sound that is 6 channels but actually made up of 3 stereo pairs, that should all be located in front left, front right only.
C/C++ Syntax
typedef enum {
FMOD_CHANNELORDER_DEFAULT,
FMOD_CHANNELORDER_WAVEFORMAT,
FMOD_CHANNELORDER_PROTOOLS,
FMOD_CHANNELORDER_ALLMONO,
FMOD_CHANNELORDER_ALLSTEREO,
FMOD_CHANNELORDER_ALSA,
FMOD_CHANNELORDER_MAX
} FMOD_CHANNELORDER;
JavaScript Syntax
FMOD.CHANNELORDER_DEFAULT
FMOD.CHANNELORDER_WAVEFORMAT
FMOD.CHANNELORDER_PROTOOLS
FMOD.CHANNELORDER_ALLMONO
FMOD.CHANNELORDER_ALLSTEREO
FMOD.CHANNELORDER_ALSA
FMOD.CHANNELORDER_MAX
FMOD.CHANNELORDER_FORCEINT
Values
FMOD_CHANNELORDER_DEFAULT
Left, Right, Center, LFE, Surround Left, Surround Right, Back Left, Back Right (see FMOD_SPEAKER enumeration)
FMOD_CHANNELORDER_WAVEFORMAT
Left, Right, Center, LFE, Back Left, Back Right, Surround Left, Surround Right (as per Microsoft .wav WAVEFORMAT structure master order)
FMOD_CHANNELORDER_PROTOOLS
Left, Center, Right, Surround Left, Surround Right, LFE
FMOD_CHANNELORDER_ALLMONO
Mono, Mono, Mono, Mono, Mono, Mono, ... (each channel all the way up to FMOD_MAX_CHANNEL_WIDTH channels are treated as if they were mono)
FMOD_CHANNELORDER_ALLSTEREO
Left, Right, Left, Right, Left, Right, ... (each pair of channels is treated as stereo all the way up to FMOD_MAX_CHANNEL_WIDTH channels)
FMOD_CHANNELORDER_ALSA
Left, Right, Surround Left, Surround Right, Center, LFE (as per Linux ALSA channel order)
FMOD_CHANNELORDER_MAX
Maximum number of channel orderings supported.
See Also
Version 1.10.03 Built on Feb 1, 2018