TStaticChannelAudioFormat::GetMaxNumChannels

Return the maximum number of channels.