Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Audio Descriptors without Feature units

osruserosruser Member Posts: 4

can I get the descriptors for a audio device without feature units?

Comments

  • Tim_RobertsTim_Roberts Member - All Emails Posts: 13,494

    What are you asking? Are you asking how to read the descriptors for an audio device? Or are you asking for sample descriptors to copy? Your request doesn't make sense to me. It's easy to remove feature units from an existing set of descriptors, or to write descriptors from scratch that don't happen to have feature units.

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

  • osruserosruser Member Posts: 4

    Thanks Tim for your response and time.I want a sample audio descriptors without feature units.

  • Tim_RobertsTim_Roberts Member - All Emails Posts: 13,494

    Forgive me for saying so, but your request is a bit odd. Do you already have a set of audio descriptors? The units in an Audio Control interface descriptor set are all just a singly-linked list, starting from an Input Terminal and ending at an Output Terminal. Each unit (except the Input Terminal) has a link to the previous unit. All you have to do is remove the feature unit descriptor, fix up the link, and adjust the wTotalLength field in the interface descriptor. It's certainly not hard.

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

  • osruserosruser Member Posts: 4

    Thank you Tim for your response.ok I will do that.I have doubt if I remove the feature unit descriptor ,should I need the remove the mixer unit and selector unit also or removing the feature unit is enough?And also I want to know what will be the gain after removing the feature unit from the descriptors?whether the windows will handle all the volume control request?

  • Tim_RobertsTim_Roberts Member - All Emails Posts: 13,494

    You did not use a name here. Are you the same person who has been emailing me over the past couple of weeks? Don't you think it would have been smart to tell me that, so I have some context?

    should I need the remove the mixer unit and selector unit also or removing the feature unit is enough?

    Enough for what? We can't answer that without knowing your goal. If you are the person who has been emailing me, and your goal is to get Windows to take over your volume control, then removing the feature unit is enough. However, the descriptors you sent me were complicated. Did you copy them from somewhere else? If you don't understand WHY you have a mixer unit and a selector unit, then you need to take a step back and figure out what you DO need.

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

  • osruserosruser Member Posts: 4

    Thank you Tim.I want the windows to take over the control of volume of my device.This is my overall goal and nothing else.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA