Last active
February 22, 2016 01:16
-
-
Save MaartenBaert/3630a1863969ba344704 to your computer and use it in GitHub Desktop.
ALSA configuration for recording with JACK.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Some of this may look redundant, but this was carefully written to | |
# work around various bugs in alsa-plugins, so don't mess with it :). | |
# override default | |
pcm.!default { | |
type plug | |
slave { | |
pcm "rjack" | |
} | |
} | |
pcm.!default { | |
type asym | |
playback { | |
pcm "jack" | |
} | |
capture { | |
# change this so it matches the microphone you want to use | |
pcm "sysdefault:1" | |
} | |
} | |
defaults.pcm.dmix.rate 48000 | |
defaults.pcm.dsnoop.rate 48000 | |
defaults.pcm.rate_converter "speexrate" | |
# ALSA-to-JACK bridge | |
pcm.jack { | |
type plug | |
slave { | |
pcm "rjack" | |
} | |
hint { | |
description "JACK bridge" | |
} | |
} | |
pcm.rjack { | |
type jack | |
playback_ports { | |
0 "system:playback_1" | |
1 "system:playback_2" | |
} | |
capture_ports { | |
0 "mic:capture_1" | |
1 "mic:capture_1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment