Skip to content

Latest commit

 

History

History
75 lines (58 loc) · 3.58 KB

nn-devicetopology-iaudioinputselector.md

File metadata and controls

75 lines (58 loc) · 3.58 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:devicetopology.IAudioInputSelector
IAudioInputSelector (devicetopology.h)
The IAudioInputSelector interface provides access to a hardware multiplexer control (input selector).
IAudioInputSelector
IAudioInputSelector interface [Core Audio]
IAudioInputSelector interface [Core Audio]
described
coreaudio.iaudioinputselector
devicetopology/IAudioInputSelector
coreaudio\iaudioinputselector.htm
CoreAudio
6f5ce9c0-39e4-4fab-910c-9a11b90fcde7
12/05/2018
IAudioInputSelector, IAudioInputSelector interface [Core Audio], IAudioInputSelector interface [Core Audio],described, coreaudio.iaudioinputselector, devicetopology/IAudioInputSelector
devicetopology.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
19H1
IAudioInputSelector
devicetopology/IAudioInputSelector
c++
APIRef
kbSyntax
COM
Devicetopology.h
IAudioInputSelector

IAudioInputSelector interface

-description

The IAudioInputSelector interface provides access to a hardware multiplexer control (input selector). The client obtains a reference to the IAudioInputSelector interface of a subunit by calling the IPart::Activate method with parameter refiid set to REFIID IID_IAudioInputSelector. The call to IPart::Activate succeeds only if the subunit supports the IAudioInputSelector interface. Only a subunit object that represents a hardware input selector will support this interface.

Each input of an input selector is identified by the local ID of the part (a connector or subunit of a device topology) that has a direct link to the input. A local ID is a number that uniquely identifies a part among all the parts in a device topology.

Most Windows audio adapter drivers support the Windows Driver Model (WDM) and use kernel-streaming (KS) properties to represent the hardware control parameters in subunits (referred to as KS nodes). The IAudioInputSelector interface provides convenient access to the KSPROPERTY_AUDIO_MUX_SOURCE property of a subunit that has a subtype GUID value of KSNODETYPE_MUX. To obtain the subtype GUID of a subunit, call the IPart::GetSubType method. For more information about KS properties and KS node types, see the Windows DDK documentation.

For a code example that uses the IAudioInputSelector interface, see the implementation of the SelectCaptureDevice function in Device Topologies.

-inheritance

The IAudioInputSelector interface inherits from the IUnknown interface. IAudioInputSelector also has these types of members:

-see-also

Core Audio Interfaces

DeviceTopology API

IPart::Activate