Speakers Structure
Language: Visual Basic C# C++ JScript (Show All)
Contains properties that define various speaker configurations.
Definition
Visual Basic
Public Structure Speakers
C#
public struct Speakers
C++
public value class Speakers sealed
JScript
In JScript, you can use structures, but you cannot define your own.
Members Table
The following table lists the members exposed by the object. Click a tab on the left to choose the type of member you want to view.
Methods
Method
Description
Speakers
Initializes a new instance of the Speakers structure.
ToString
Obtains a string representation of the current instance.
Properties
Property
Description
FivePointOne
Retrieves and sets whether the audio will be played through a speaker arrangement of five surround speakers with a subwoofer.
GeometryMax
Retrieves and sets whether the speakers are directed over an arc of 180 degrees.
GeometryMin
Retrieves and sets whether the speakers are directed over an arc of 5 degrees.
GeometryNarrow
Retrieves and sets whether the speakers are directed over an arc of 10 degrees.
GeometryWide
Retrieves and sets whether the speakers are directed over an arc of 20 degrees.
Headphone
Retrieves and sets whether the audio will be played through headphones.
Mono
Retrieves and sets whether the audio will be played through a monaural speaker type.
Quad
Retrieves and sets whether the audio will be played through a quadraphonic speaker type.
SevenPointOne
Retrieves and sets whether the audio will be played through a speaker arrangement of seven surround speakers with a subwoofer.
Stereo
Retrieves and sets whether the audio will be played through a stereo speaker type.
Surround
Retrieves and sets whether the audio will be played through a surround sound speaker type.
Remarks
A Speakers object should have one of the following speaker type properties set to true :
A Speakers object, in combination with the speaker type mention above, should have one of the following geometry type properties set to true :
This structure is used to control a global Windows setting that affect all users and applications on the system. It is provided only for use by configuration utilities provided by audio device vendors. No other applications should call it.
Structure Information
Namespace
Microsoft.DirectX.DirectSound
Assembly
Microsoft.DirectX.DirectSound (microsoft.directx.directsound.dll)
Strong Name
Microsoft.DirectX.DirectSound,
Version=1.0.900.0,
Culture=neutral,
PublicKeyToken=d3231b57b74a1492
See Also
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center