This sets the maximum allocatable channels on a hardware card. FMOD automatically detects and allocates the maximum number of 3d hardware channels, so calling this will limit that number if it becomes too much.<BR>
<P>
<B>DLL_API signed char F_API </B><B></B><B>FSOUND_SetMaxHardwareChannels</B><B>(</B><BR>
<B>int </B><B></B><I>max</I><BR>
<B>);</B><BR>
<H3>Parameters</H3>
<TABLE>
<TRVALIGN=top><TD><I>max</I></TD>
<TD>The maximum number of hardware channels to allocate, even if the soundcard supports more.<BR>
</TD></TABLE>
<H3>Return Value</H3>
On success, TRUE is returned.<BR>
On failure, FALSE is returned.<BR>
<H3>Remarks</H3>
This function cannot be called after FMOD is already activated with FSOUND_Init.<BR>
It must be called before FSOUND_Init, or after FSOUND_Close.<BR>
---------<BR>
This function has nothing to do with FSOUND_SetMinHardwareChannels, in that this is not a function that forces FMOD into software mixing if a card has a certain number of channels.<BR>
This function only sets a limit on hardware channels, so if your card has 96 hardware channels, and you set FSOUND_SetMaxHardwareChannels(10), then you will only have 10 hardware channels to use.<BR>
___________________<BR>
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2, GameCube<BR>