Skip to content

Instantly share code, notes, and snippets.

@saml
Created January 3, 2013 05:27
Show Gist options
  • Save saml/4441053 to your computer and use it in GitHub Desktop.
Save saml/4441053 to your computer and use it in GitHub Desktop.
alsa asoundrc human readable name jackd
$ cat /proc/asound/cards 
 0 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfeb44000 irq 43
 1 [XMidi1X1       ]: USB-Audio - E-MU XMidi1X1
                      E-MU Systems, Inc. E-MU XMidi1X1 at usb-0000:00:12.0-1, full speed
 2 [Generic_1      ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfeb40000 irq 16

$ pacman -S alsa-plugins

.config/openbox/autostart

jackd -d alsa -d hw:Generic_1

.asoundrc

pcm.!default {
    type plug
    slave { pcm "jack" }
}

ctl.!default {
    type hw
    card Generic_1
}

pcm.jack {
    type jack
    playback_ports {
        0 system:playback_1
        1 system:playback_2
    }
    capture_ports {
        0 system:capture_1
        1 system:capture_2
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment