Speakers.Headphone Property

Language:

Retrieves and sets whether the audio will be played through headphones.

Definition

Visual Basic Public Property Headphone As Boolean
C# public bool Headphone { get; set; }
C++ public:
property bool Headphone {
        bool get();
        void set(bool value);
}
JScript public function get Headphone() : boolean
public function set Headphone(boolean);

Property Value

System.Boolean
A value set to true if the audio will be played through headphones; otherwise, false.

This property is read/write. 

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