No sound in ALSA (unable to open slave)
After upgrading to Debian Wheezy and deinstalling pulseaudio I encountered problem with ALSA, specifically with mocp:
aplay also prints similar messages.
The solution is to create a file named
.asoundrc in your home folder and paste this in:
Then alsa service should be restarted:
Now mocp should work fine.