cmd line way to mute line in realtek hd audio card


  1. Posts : 2
    windows 7 64
       #1

    cmd line way to mute line in realtek hd audio card


    I have a line of music audio entering my realtek card to accompany a powerpoint slideshow, together they go out on our community cable channel. I need to kill the input, the music audio that is directly plugged into the card in the back of the pc, so that when I schedule a video (bod meeting prerecorded video), the line in is muted and the video audio goes out, without the muting capability I get both streams...

    Need to do it in an attended way. Also, need to return to the music input afterwards. Old config (xp/machine Creative sound card, allowed us to do this via a batch file that executed a muteon.exe, ran the video, then muteoff.exe...however the .exes do not work in our present config.

    Any ideas greatly appreciated! It's burning me out...
      My Computer


  2. Posts : 8,135
    Windows 10 64 bit
       #2

    Vista/Win7/Win8 handle some audio functions differently than XP and thus the reason the XP drivers and most of their utilities do not work in Win7. You will find several other differences in Win 7 from XP as I have seen many posts from ex Windows XP users with programs and procedures that no longer work or are different.

    Now, back to muting the Line In. RIGHT click on the speaker Icon in the Notification Area (lower right of the task bar) and then LEFT click on Recording section and you should be able to mute (disable) the Line In there (or enable it).
      My Computer


  3. Posts : 2
    windows 7 64
    Thread Starter
       #3

    command line


    I need to be able to do this from a batch file / command line thing. No human will be present to switch back and forth. Essentially that's it...the ability to mute and unmute line in via a command line directive. Such a thing? Can someone write a script to suffice?

    Thanks for your input.
    Last edited by leburg; 04 May 2014 at 21:52.
      My Computer


  4. Posts : 2,465
    Windows 7 Ultimate x64
       #4

    NirCmd may be of some help. It extends the commands available with a bunch more, one of which allow to mute the system:
    Mute the system volume nircmd.exe mutesysvolume 1
    Unmute the system volume nircmd.exe mutesysvolume 0
    Switch the system volume between the mute and normal state. nircmd.exe mutesysvolume 2
    I've not actually tried it, but at least it's updated quite often, so I'm positive in that it may be able to wrokaround the bugs introduced in Win7.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:53.
Find Us