Ok, I have ALSA running, but still can't get any sound to play through my headphones or speakers (unless you count the alarmingly loud popping noise that sometimes results from changing the Analog Output). I have two hunches as to the source of the problem. But first, here's a screenshot of alsamixer.
Here's the output when I try to run a speaker test.
speaker-test -c 2
speaker-test 1.0.24.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused
Playback open error: -111,Connection refused
If you look at the screenshot I posted, you'll notice that Xonar ST is listed as device 1, with nothing marked as the default. I might be mistaken on what " - (default) " means, but when I select it, I get the following error:
Cannot open mixer device 'default'. Connection refused
The words "Connection refused" are used here, as they are in the error from the sound test, so maybe there's a connection.
Another possible cause of this problem is my ATI card. I'm using a DVI-I to HDMI converter that came with the card, and because my video card (HD 4870) has a built-in sound card, it can output audio through HDMI. I recall reading in the Ubuntu forums that people had issues with their ATI HDMI sound taking priority over their Xonar ST cards, and had to blacklist the ATI sound. Do you think this is necessary? And if it is, how would I do this?