Bewerken

Delen via


SIDEBANDAUDIO_ENDPOINT_DESCRIPTOR structure (sidebandaudio.h)

The SIDEBANDAUDIO_ENDPOINT_DESCRIPTOR structure describes the characteristics of a Sideband audio Endpoint. Audio driver should query this information to build the KS filter representing this endpoint.

Syntax

typedef struct _SIDEBANDAUDIO_ENDPOINT_DESCRIPTOR {
  ULONG                               CbSize;
  GUID                                ContainerId;
  GUID                                Category;
  KSPIN_DATAFLOW                      Direction;
  SIDEBANDAUDIO_ENDPOINT_CAPABILITIES Capabilities;
  UNICODE_STRING                      FriendlyName;
  ULONG                               VolumePropertyValuesSize;
  ULONG                               SidetoneVolumePropertyValueSize;
  ULONG                               MutePropertyValuesSize;
} SIDEBANDAUDIO_ENDPOINT_DESCRIPTOR, *PSIDEBANDAUDIO_ENDPOINT_DESCRIPTOR;

Members

CbSize

Size of Descriptor including storage for UNICODE_STRING and any additional data.

ContainerId

Pnp Container ID for connected device. See Audio Endpoint Container ID.

Category

KSPIN_DESCRIPTOR.Category to indicate form factor. Specifies a pointer to a KS pin category GUID. The KS pin category GUID identifies the general category of functionality that the pin provides. Examples of KS pin category GUIDs are KSNODETYPE_SPEAKER, KSNODETYPE_HEADPHONES, and KSNODETYPE_MICROPHONE, which are all defined in Ksmedia.h. See Pin Category Property.

Direction

Specifies either KSPIN_DATAFLOW_IN or KSPIN_DATAFLOW_OUT. See KSPIN_DATAFLOW.

Capabilities

Capabilities of the endpoint like (mute, volume, sidetone, etc.). See SIDEBANDAUDIO_ENDPOINT_CAPABILITIES.

FriendlyName

Storage for friendly name is attached after descriptor and is included in cbSize. See Friendly Names for Audio Endpoint Devices.

VolumePropertyValuesSize

If remote volume control is supported, this member contains the size of the data returned by the IOCTL_SBAUD_GET_VOLUMEPROPERTYVALUES request.

SidetoneVolumePropertyValueSize

If remote volume control is supported, this member contains the size of the data returned by the IOCTL_SBAUD_GET_SIDETONE_VOLUMEPROPERTYVALUES request.

MutePropertyValuesSize

If remote mute is supported, the member contains the size of data returned by IOCTL_SBAUD_GET_MUTEPROPERTYVALUES.

Requirements

Requirement Value
Header sidebandaudio.h

See also

sidebandaudio.h

SIDEBANDAUDIO_ENDPOINT_CAPABILITIES

IOCTL_SBAUD_GET_VOLUMEPROPERTYVALUES

IOCTL_SBAUD_GET_SIDETONE_VOLUMEPROPERTYVALUES