Skip to content

Instantly share code, notes, and snippets.

@krzysztofjeziorny
Created October 1, 2013 20:18
Show Gist options
  • Save krzysztofjeziorny/6784443 to your computer and use it in GitHub Desktop.
Save krzysztofjeziorny/6784443 to your computer and use it in GitHub Desktop.
.asoundrc file for my Raspberry Pi giving output to the USB sound card with a Toslink output
pcm.!default { type hw card 0 }
ctl.!default { type hw card 0 }
pcm_slave.sl2 { pcm "hw:0,0" rate 48000 }
pcm.rate_convert { type rate slave sl2 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment