Results 1 to 3 of 3

Thread: Alsa scripting with alsamixer?

  1. #1
    Join Date
    Nov 2006
    Beans
    184

    Alsa scripting with alsamixer?

    Hey all. I've got a question about ALSA's command line utilities.

    Right now, ive got a a desktop with built in speakers and a sound card in the back. Currently, the speakers are set as the default sound source.

    The only way i can get the soundcard in back to work is to mute the external amplifier manually with alsamixer

    I have to run alsamixer, then mute my external amp.

    I currently have to do this by hand, and it's a pain in the ***.
    What i want to do is have this done during boot up.

    So does anybody know what alsamixer command line flags there are ( i cant find any...) that would allow me to *mute* or turn off an internal amp?

    -- Thanks!

  2. #2
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,187

    Re: Alsa scripting with alsamixer?

    man amixer

    you should be able to that from the volume icon in pulse audio(default in ubuntu). look under hardware or output.

  3. #3
    Join Date
    Nov 2006
    Beans
    184

    Re: Alsa scripting with alsamixer?

    I dont have a gui


    and the command line flags for this utility dont allow me to mute.

    EDIT: I finally found a mailing list entry that had what i needed:

    amixer -q -c 0 sset 'External Amplifier',0 mute

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •