Previous Topic Index Next Topic
[API function]

FSOUND_SetMaxHardwareChannels

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.

DLL_API signed char F_API FSOUND_SetMaxHardwareChannels(
int max
);

Parameters

max The maximum number of hardware channels to allocate, even if the soundcard supports more.

Return Value

On success, TRUE is returned.
On failure, FALSE is returned.

Remarks

This function cannot be called after FMOD is already activated with FSOUND_Init.
It must be called before FSOUND_Init, or after FSOUND_Close.
---------
This function has nothing to do with FSOUND_SetMinHardwareChannels, in that this is not a function that forces
FMOD into 100ÐSEoftware if a card has a certain number of channels.
This function only sets a limit on hardware channels, so if you card has 96 hardware channels, and you set
FSOUND_SetMaxHardwareChannels(10), then you will only have 10 hardware channels to use.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2

See Also

FSOUND_Close , FSOUND_Init , FSOUND_SetMaxHardwareChannels , FSOUND_SetMinHardwareChannels

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Fri Dec 20 16:31:09 2002 by SourceDoc v0.10, the automated source code documenter.