Lost Sound Support Unexpectedly

'Forum Post ulist at gs1.ubuntuforums.org
Sat Jan 7 11:53:35 UTC 2006


I had the exact same problem. I have onboard sound which I do not use in
addition to an SB Live card which is my default card. Amarok and xmms
suddenly stopped working. The weird thing is that the sound in Quake IV
worked perfectly. Anyway, I found a solution in these forums which
worked for my setup. I edited /home/$USER/.asoundrc so that it looked
like this:






Code:
--------------------
    ### BEGIN set-default-soundcard

  # If the "### BEGIN..." and "### END..." comments are intact, then you

  # can change your default soundcard with "set-default-soundcard(1)."

  # Remove these comments if you want to maintain a custom configuration

  # that should not be changed automatically.

  

  # Default soundcard

  defaults.pcm.card 1

  

  ### END set-default-soundcard

  

  pcm. ! default {

  type hw

  card 1

  }

  

  ctl. ! default {

  type hw

  card 1

  }

  
--------------------




After that the sound worked again. You might have to restart
/etc/init.d/alsa-utils and Amarok or whatever you use. Also, if your
preferred soundcard is card 0 you'll of course have to subsitute "card
1" with that. I have no idea what caused the problem, though :/


-- 
Ziggy Stardust




More information about the ubuntu-users mailing list