This allows the driver developer to create device-specific friendly names for both Name and Category GUIDs, whether the GUID is unique to the device or not. The AddReg section constructs these entries using the HKR\MediaCategories key. This is created by the INF through an AddReg section referenced by the section of the device driver's INF. Starting with Windows 10 October 2018 Update, version 1809, when searching the registry, KS first looks for an entry in the device's software key. If KS does not find an entry, it searches the registry for a unicode string describing the KsPinDescriptor.Category GUID. KS handles this request by first searching for a unicode string in the registry describing the KsPinDescriptor.Name GUID. The audio subsystem invokes the KSPROPERTY_PIN_NAME property to associate a friendly name with an audio endpoint. This name GUID is used by the ( KSPROPERTY_PIN_NAME) property to associate a friendly name found in the registry with the pin. This pin name GUID is stored in the KsPinDescriptor.Name member of the PCPIN_DESCRIPTOR structure. In addition the PCPIN_DESCRIPTOR includes a GUID that can be used to identify the pin by a unique name. The KSNODETYPE_ XXX GUIDs are defined in the Ksmedia.h header file. For example, the pin-category GUID KSNODETYPE_MICROPHONE indicates that the bridge pin connects to a microphone, the GUID KSNODETYPE_SPEAKER indicates that the bridge pin connects to speakers, and so on. For a bridge pin, the value of the pin category GUID indicates the type of endpoint that connects to the bridge pin. The pin category GUID is stored in the KsPinDescriptor.Category member of the PCPIN_DESCRIPTOR structure. One such property is the pin category property ( KSPROPERTY_PIN_CATEGORY).įor each KS filter, the adapter driver supplies a table of PCPIN_DESCRIPTOR structures that describe the properties of the KS pins on the filter. The audio subsystem obtains information about an audio endpoint device by examining the properties of the bridge pin that the endpoint device connects to. For more information about bridge pins, see Audio Filter Graphs. A bridge pin is a KS pin through which an audio endpoint device connects to a KS filter. Data streams enter and exit the filter through KS pins. The audio subsystem models a Plug and Play (PnP) device on an audio adapter as a KS filter. For more information about endpoint devices, see Audio Endpoint Devices. These endpoints have friendly names such as "speakers", "headphones", "microphone", and "CD player" that applications can display in their user interfaces. This concept of audio endpoints helps create user-friendly audio applications that have user interfaces that refer to the endpoint devices that users directly manipulate. In Windows Vista, Windows Server 2008 and later versions of Windows, the audio subsystem supports the notion of an audio endpoint device, for example, speakers, headphones, microphones, and CD players.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |