I recently bought a USB sound card to improve the audio output on my pi while continuing to use my USB microphone for audio input.

The problem is that I do not know how to configure the pi to use the USB sound card as the default for audio out while continuing to use the separate USB mic for audio in. The USB sound card technically has a 3.5 mm mic in but I would rather not buy another microphone (non-USB) just to get this working.

1 Answer 1


I set up my ~/.asoundrc like below and it allowed playback from the USB sound card and input from the separate USB mic.

pcm.!default {
     type hw
     card 0 #card 0 is USB sound card

ctl.!default {
     type hw
     card 2 #card 2 is USB microphone
  • 1
    For future reference, the "formatting tips" sidebar on the Ask Questions page has a link to a more in depth reference and those little symbols in the editor topbar do all serve some purpose. You are not limited to using raw html and   for spacing ;)
    – goldilocks
    Mar 2, 2016 at 9:18
  • How did you configure /usr/share/alsa/alsa.conf for that? Setting up ~/.asoundrc like that does not work for me. Jun 21, 2017 at 12:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.