Microsoft DirectX 8.1 (C++)

Speaker Configuration

DirectSound uses the speaker configuration—that is, the position of the speakers relative to the listener—to optimize 3-D effects for the user's sound system.

In Windows® 98 and Windows 2000, the speaker configuration can be set by the user in Control Panel. An application can retrieve this value by using IDirectSound8::GetSpeakerConfig and override it by calling IDirectSound8::SetSpeakerConfig.

There is no guarantee that SetSpeakerConfig will have an immediate effect; it might simply change a registry setting that will not take effect until the computer is restarted. Instead of using this method, applications should advise the user to change the speaker configuration through Control Panel.