Previous Topic Index Next Topic
[API function]

FSOUND_SetSpeakerMode

Sets the mode for the users speaker setup.

void F_API FSOUND_SetSpeakerMode(
unsigned int speakermode
);

Parameters

speakermode This is an enum describing the users speaker setup.

Return Value

void

Remarks

To get true 5.1 dolby digital or DTS output you will need a soundcard that can encode it,
and a receiver that can decode it. If not the results can be unpredictable.
Calling this will reset the pan separation setting. It sets it to 0 if FSOUND_SPEAKERMODE_MONO is chosen,
and 1 otherwise. You will need to reset the pan separation if required afterwards.
Note that soundcard drivers may ignore this if in hardware mode.

See Also

FSOUND_SetPanSeperation , FSOUND_SPEAKERMODES

This document copyright ©Firelight Multimedia, 1999-2001. All rights reserved.
Generated Thu Sep 13 00:18:09 2001 by SourceDoc v0.10, the automated source code documenter.