Share via


Speakers.Headphone Property (Microsoft.DirectX.DirectSound)

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.