PcStreamResourceType enumeration (portcls.h)

This topic discusses the PcStreamResourceType enum, and describes its members. The PcStreamResourceType enum is used to define the type of resources used for specific audio streaming

Syntax

typedef enum _PcStreamResourceType {
  ePcStreamResourceInterrupt,
  ePcStreamResourceThread,
  ePcStreamResourceSet
} PcStreamResourceType, *PPcStreamResourceType;

Constants

 
ePcStreamResourceInterrupt
The resource is a PKINTERRUPT.
ePcStreamResourceThread
The resource is a PETHREAD.
ePcStreamResourceSet
The resource is a link to another device-stack’s resources.

Remarks

Stream resources are any resources used by the audio driver to process audio streams or ensure audio data flow. Two type of stream resources are supported: interrupts and driver-owned threads. Audio drivers should register a resource after creating the resource, and unregister the resource before deleted it.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header portcls.h