How to set your default sound card .

Forum Forums General Tips and Tricks How to set your default sound card .

  • This topic has 2 replies, 2 voices, and was last updated Jun 21-5:48 pm by ex_Koo.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22350
    Member
    ex_Koo
      
      Set default sound card...
      
      Open alsa mixer with sudo press F6 or S select your card then type sudo alsactl store.
      
      sudo alsamixer
      
      sudo alsactl store
      
      and OR
      
      Setting the default sound device
      
      Find your desired card with:
      
         cat /proc/asound/cards
      
      You will need to be root for this and then create or edit your /etc/asound.conf with following:
      
         defaults.pcm.card 1
         defaults.ctl.card 1
      
      Replace "1" with number of your card determined above. 

      With antiX the asound.conf file was already in etc just needed to remove the comments and change the card number.

      #defaults.pcm.card 1
      #defaults.ctl.card 1

      to

      defaults.pcm.card 2
      defaults.ctl.card 2

      cat /proc/asound/cards
       0 [PCH            ]: HDA-Intel - HDA Intel PCH
                            HDA Intel PCH at 0xf7130000 irq 28
       1 [NVidia         ]: HDA-Intel - HDA NVidia
                            HDA NVidia at 0xf7080000 irq 17
       2 [US2x2          ]: USB-Audio - US-2x2
                            TEAC Corporation US-2x2 at usb-0000:00:14.0-10, high speed
       3 [Device         ]: USB-Audio - USB PnP Audio Device
                            C-Media Electronics Inc. USB PnP Audio Device at usb-0000:00:14.0-13, full spee
      

      I found on my system anyway that if I open alsamixer as user card 0 was the default. Then I opened alsamixer as root and card 1 was the default. I have no idea. And don’t really care fixed now 🙂

      #22354
      Member
      techilliterate
        Helpful
        Up
        0
        ::

        AntiX comes with a program specifically for setting the default ALSA card anyway so you shouldn’t have needed to mess around with the config.

        #23631
        Member
        ex_Koo
          Helpful
          Up
          0
          ::

          AntiX comes with a program specifically for setting the default ALSA card anyway so you shouldn’t have needed to mess around with the config.

          For me with my usb dac this only partly works , mpd & ncmpcpp sound works fine but waterfox sound will not work without the .config edits.

          antiX 17.4.1 & i3 bloatware is were I will say..not a gui desktop user.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.