How does KMDF driver control the master volume of Windows?

Dear Sirs:
I am developing a KMDF codec driver. 
One of features is that the user can press buttons which are attached on a headset to manipulate the render volume.
Is there any windows API available to allow me to control the master volume of Windows under KMDF developmnet?
Thanks a lot.
Sincerely, 
Zale Yu

Hi Doron,
Thank you for pointing out the direction. Here please allow me to ask two questions, and also please review a possible solution.
Question: 
- may I ask for more details on how to do this underlying bus driver? i.e. could you kindly list a few steps on how to do this? 
- Any related samples available in MSDN WDF I can look at to get th idea/even reuse the code? 
Possibl solution:
- how about claiming the codec device as a HID devic as well, and make a minidriver to pass through IRPs to filter driver which captures/interprets the button-press interrupt and then send HID report to change system volume? is this feasible?
any conflict: Can Kernal add th driver (now Codec function Driver, Mini driver and a HID filter driver all together) stack together -- so the right driver can process the packet interested?
Thanks again.
JerryWang.xw

Similar Messages

  • Why does using a digital connection from headphones out on a Mac into a stereo disable the master volume control on the Mac?

    When you use an analog connector, it does not disable the master volume on the Mac. It's only when you use a digital connector, and it's ALL digital connectors. It still allows you to use the iTunes volume control but, when you stream anything else on the web on your computer, you have to use the stereo's volume control because the master volume control on the Mac has been disabled. Does anyone know why?

    I had the same problem, instead of logging in the router with the iMac (impossible) I did it with my iPad, I guess you can do the same with an iPhone.
    -Disconnect the iPad from your wifi network and connect it to the TP-Link repeater.
    -Open the web browser (I use chrome) be sure you don't have any other open tab, just the one to access tptlinkextender.net
    -The configuring page opens, from there follow the steps of detecting your network and adding the password.
    *If your MAC address is hidden it'll appear without name, in that case you have to configure it manually (write the name on the space for that)
    Now go, be happy and do good.

  • How Do Control My Master Volume?

    How do control my master volume?, i can only control it on my keyboard but not on the top right corner. its supposed to be black but its grey and no sound.

    System Preferences --> Sound --> Select a device for sound output to "Internal speakers" or "line out"
    You may select it Digital out.

  • I made a project with multiple tracks and had it all panned and mixed.  Now it's only playing in the right speaker.  Not even regestering a left side in the master volume?  What happened, how can I get both sides back?

    I made a project with multiple tracks and had it all panned and mixed.  Now it's only playing in the right speaker.  Not even regestering a left side in the master volume?  What happened, how can I get both sides back?

    Thank you for that info.
    For video, the codec is MPEG-4 Video (XVID) and for audio it says MPEG Audio Layer 1/2/3 (mpga).
    There are two issues with that file:
    The first is the Xvid CODEC (not meant for editing), and then the MPEG Audio/MPGA. I would convert that file, to something that is more editable.
    Good luck,
    Hunt

  • [SOLVED]Alsamixer - the "mute" option for the Master volume is missing

    Hej!
    After the recent update the Mute option is missing for the Master volume but I can mute sound for PCM.
    My sound cards:
    0 snd_cmipci
    1 snd_hda_intel
    Last edited by Andy_Crowd (2014-07-30 19:45:27)

    Andy_Crowd wrote:Those settings are the same.
    Okay, can you provide documentation/reference to back that up? Should you mean, there is no difference in how you system behaves, yes, that is very likely, since the second line is correct, so the cmi would be at index 0 either way.
    Andy_Crowd wrote:Mute shows only when I am installing pulseaudio.
    In alsamixer? PA runs on top of alsa, so the controls for alsamixer should stay the same. Do you mean another mixer maybe?
    You still did not provide the relevant part of pacmans log and amixer output for both cards. Are you certain you used the cmi as default the whole time? Is the snd-hda-intel a hdmi sound card?

  • Can you control the OS Volume from Flash

    hi guys, Can you control the master windows OS volume from
    within flash.
    My understanding is that within the soundobject.volume, 100
    mean 100% of the current windows volume setting.
    Can control the windows setting seperatly as well (the same
    way you could/can in Director)?
    Rich

    Yes - the JavaScript that's in export.js was rolled into inline code in the Java jar files sometime during version 11.5.
    It's no longer customizable.
    An option is to use HTTP Filter on your Java Web App to modify the outgoing JavaScript instream, but that's never a pretty solution.
    Sincerely,
    Ted Ueda

  • "WEB_0ADHOC" does not exist in the master system

    I inserted a query into report designer and made a few changes (font/adding columns, custom text) and when i'm trying to launch it in Portal ...this is the error msg i get
    The initial exception that caused the request to fail, was:
    The Web template "WEB_0ADHOC" does not exist in the master system
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: The Web template "WEB_0ADHOC" does not exist in the master system
    at com.sap.ip.bi.webapplications.runtime.service.template.impl.TemplateService.getTemplateContent(TemplateService.java:57)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.service.template.PortalTemplateAccessService.getTemplateContent(PortalTemplateAccessService.java:80)
    at com.sap.ip.bi.webapplications.runtime.preprocessor.Preprocessor.parseTemplate(Preprocessor.java:161)
    at com.sap.ip.bi.webapplications.runtime.xml.XmlTemplateAssembler.doInit(XmlTemplateAssembler.java:83)
    at com.sap.ip.bi.webapplications.runtime.template.TemplateAssembler.init(TemplateAssembler.java:126)
    In the web application designer, i tried to see if the WEB_0ADHOC is available or not ... this is the msg i get:
    Diagnosis
    You have attempted to open query ! from the Query Designer. However, this query does not exist in the database in the system to which you have made a connection.
    System Response
    Opening the query was terminated.
    Procedure
    Make sure that you have connected to the correct BW system. Note: The query may have been deleted by another user.
    i even checked in the IMG setting to see if this is the default template for enterprise reporting and it is.
    How do I make it available in the system.
    Message was edited by:
            voodi
    Message was edited by:
            voodi

    Hello,
    Someone changed the default templates in your system. WEB_0ADHOC is wrong.
    Delete the entries and restart your java server (because of cache). This will reset the changes to default. All templates for new runtime must be visible in the transaction SE38, program RS_TEMPLATE_MAINTAIN_70. source code must begin with <bi:bisp ...
    Regards, Karol
    SAP NetWeaver BI, Development

  • How does hard drive speed impact iMovie performance

    I'm thinking of getting one of the newly released 15" MacBook pro laptops. For hard drive choices I can get 750GB @ 5400 RPM or 500GB @ 7200 RPM (SSD Drives are too expensive for me). How does hard drive speed impact iMovie performance?

    Most of my videos are .mov. Currently I'm using a ContourGPS and it saves the files as .mov H264 and iMovie converts it. It think it's uncompressing the file using Apple Intermediate codec, the extension is still .mov after the iMovie conversion.

  • The Web template does not exist in the master system

    We are using a Web Template (ZPORTAL) as an access point to other web templates and to 0ANALYZER. We recieve an abort when the use logs on for the first time and is presented with the password change window. When they change the password and click ok, the following message is recieved: The Web template "ZPORTAL=" does not exist in the master system. After the abort, they go back to the ZPORTAL again in which case no abort occurs and they are able to navigate the web template. This only happens when they have to change their password. Has anyone else seen this?

    Make sure the template exists in the system which is configured in the iView property.
    There should be a one to one mapping between BI and EP systems.
    You cannot connect 2 BI system to one EP system and configure BI JAVA

  • How does condition category affect the price procedure

    Hello Gurus,
         there is a case as following:
    if the condition type in the pricing analysis says in a billing document that the ‘‘condition is found and set,” and one is using the condition requirement number 024 (which only determines the price in billing document) yet still has to do new pricing in order to obtain the condition record, Should the condition category be blank, the system would propose the message “condition is found and set” but does not provide an actual condition record.
       the fault would be that the condition category on the condition type should be equal to L.
       so my question is " how does condition category affect the price procedure" ? thanks very much!

    Hi Zhang,
    -->Condition category is a classification of conditions according to predefined criteria.
    -->These categories include packaging costs, delivery costs, output taxes and discounts.
    -->The classification of conditions by condition categories can be used for analysis.
    I hope it will clear for you
    Regards,
    Murali.

  • How can one find out how much hard drive space the apps and media are using?

    how can one find out how much hard drive space the apps and media are using?

    See Here  >  Where did my Disk Space go?
    And Here  >  The Storage Display

  • HT4314 i'm new and i don't know haw to access a new crossword puzzle, the one i already completed keeps coming up...how does one get to the next puzzle?

    in crosswords how does one advance to the next puzzle please, thanks

    Re: That garbage is unreadable.
    If you really want help, stop messing with the fonts and post so that others can read and offer suggestions.
    Or better yet... try a search, I'm certain you'll find a solution to whatever issue you're experiencing.
    I have found that many times it is the things that make you most angry that push you to action. This was the case here. Thank you for causing me to get so angry that I found the answer myself.

  • Sorry if tis is naive.  I have just bought my first iPad Retina Display.  I have WiFi at home but it has taken ages for me to connect as I needed all sorts of codes, passwords, detauils etc.   How does one connect to the web (Google) when one is out and a

    Sorry if this is a bit naive.  I have just bought my first iPad (Retina Display).  I have WiFi at home but it has taken me ages to get on-line as I needed all sorts of codes, passwords, numbers etc.
    How does one connect to the web (Google) when one is out and about?
    Thanks

    haha, You're welcome
    Maybe these links will be useful
    ipad manual/user guide
    http://manuals.info.apple.com/en_US/ipad_user_guide.pdf
    ipad support page
    http://www.apple.com/support/ipad/
    ipad assistant
    http://www.apple.com/support/ipad/assistant/

  • How does waveform graph downsamples the data before it is plotted

    Hi,
    I'm interested in how does waveform graph downsamples the data before it is plotted and what algorithm is used for this purpose? My goal is to plot 30 plots that have 1M samples each and I would like to downsample them before plotting onto a graph. I tried several VIs/algorithms for resampling and none of them gave the same result as seen by waveform graph (when all the samples are plotted).
    For example, if only one sample of 1M samples is 1 and all others are 0, then after downsampling to 1k samples the sample is not visible on the graph anymore. However, if I plot all 1M samples directly onto the graph, then also this 1 sample is visible (see attached example). 
    Solved!
    Go to Solution.
    Attachments:
    WFGDownsampling.vi ‏19 KB

    Hi andrej,
    LabVIEW draws plots in the way that draw every pixel affected by signal. So for example if there is zero-valued 1M samples and even one equals to 1, you will see the peak. That is the reason why you do not get the exactly same behavior comparing to interpolating. But if you set FIR as interpolation mode in Resample Waveforms (single shot).vi, result is really similar, but of course amplitude is 1000-times smaller than original one (because there is dt set to 1000). Keep also in mind that in Graph 2, there is different Y-scale and it should be considered as noise, not relevant data, I would expect 1000-times smaller amplitude as in Graph 3, it is many more times smaller.
    I would also like to say something about downsampling (decimating) the data. If you have 1M samples, you can see the peak even that there is only one value. But bigger problem is that with this graph resolution (I guess that is not more than 1000px), it is problem to find position of this peak. It means that still the zoom is needed to know where the peak is. Usually, when there is that big set of data, you are extracting different data (statistical information, peaks in FFT, etc.) not just visual data in graph.
    Mariaaa:
    I do not understand your question, can you please describe more your needs? You mentioned saving the data into a file, you can use Write to Measurement File express VI or see Write to Text File.vi in Example Finder and try to appropriately modify it.
    Best regards,
    Martin

  • How does one tell if the J2EE services are running with Unlimited

    How does one tell if the J2EE services are running with Unlimited
    security? We have applied the export Policy to the server but we do notsee any reference to it running with it. .we apply the Service packs SAP now upgrades that JAVA as well . Do that process treat the JAVA
    lib/security area correctly.

    Just out of curiosity... Is there something you do
    like about Mac/Apple?
    To answer your question: no, not really. However, the points that I made here were about Safari and accompanying utilities, not about Apple in general.
    If it makes you feel any better, I am just as, or even more, critical of Micro$oft as the occasions arise...Windoze Vista is the most recent occasion and has given sufficient reasons and opportunities to vent my spleen that I actually have eased up on Apple, politicians, nut-case religious extremists, cell phone owners, and the Department of Homeland Paranioa, etc., due to an exhaustion of creative energy.

Maybe you are looking for

  • I have two Apple IDs. Is there any way to consolidate them into one?

    I have two Apple iTunes accounts and didn't realize it for a while so some of the music I purchased is associated with one account and some music is associated with the other. I was wondering if there is any way to connect the two accounts and consol

  • Satellite 1130-Z31: Cannot get 1600x900 on second monitor

    I have a Toshiba Satellite 1130-Z31 (old one, but still works well). Now i have attached a second monitor with a native resolution of 1600x900 pixels. I have set the resolution of the second monitor to 1600x900, this is accepted. However, the image o

  • Window Arrange problem in dual monitors

    When attempting to arrange photographs which have been dragged to my primary monitor (entire Photoshop CS6 beta program opens [as I have set it up]  in my secondary monitor), the photos are arranged, but moved back to the monitor where Photoshop resi

  • Problem WRV200 Connect With WRT54G v.5

    Hello to Everybody, First of all, I'm sorry about my English -not the Best. -- i wrote this message in Camera Forum Too. and now to my problem, i purchased the IP Camera Model WVC200 and i  Installed it Perfect. i can view, move, record and etc. i co

  • .Xmp files and saving, and these other files that are also .NEFs

    Okay, so my boss lives in Vancouver and I live in Ontario. I help her edit photos and then I email her a zip of all the .xmps. Now. Here is my question: I am currently running LR 2.6, and at the end of my editing I select all the photos and save the