Ask Your Question
0

Custom output device in pulseaudio

asked 2012-02-03 01:49:43 -0500

sparky gravatar image

Hi All,

So I'm trying to setup a new HTPC, but can't get pulse configured properly, so there is no sound. I'm pretty sure it's not a driver thing as I've isolated the output device I want to use (onboard HDMI on an ASRock Z68M-ITX/HT), and have tested it fine from the CLI:

# aplay -D plughw:0,7 /usr/share/sounds/alsa/Front_Left.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

No matter what input/output combo I choose in the sound preferences though, I get nothing. I've also tried manually editing default.pa with no luck.

Any ideas? Thanks muchly...

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-02-17 14:26:18 -0500

lakester gravatar image

updated 2012-02-17 14:26:57 -0500

Random thoughts...

Try re-running the "aplay" command w/ "-D pulse".

If that doesn't work, then you might want to verify that the pulse plugin for alsa is installed and configured:

Verify that /etc/asound.conf contains something like:

@hooks [
{
    func load
    files [
        "/etc/alsa/pulse-default.conf"
    ]
    errors false
}

]

If it does, then verify that /etc/alsa/pulse-default.conf exists.

The point of the above steps are to make sure things are configured for those apps using alsa directly, but on a system configured to run pulse.

So..., if there's still no sound, you might try playing around w/ "pacmd". Simply type "pacmd" at the CLI and you'll be in the pulse "shell".

Use the "list-sinks" command to get the list of possible places to direct sound.

Once you've located the likely device, enter a command that looks like "set-default-sink alsaoutput.pci-000000_06.1.analog-stereo"..., with the device name adjusted accordingly.

The upshot of all this is to verify that ALSA provides an interface to Pulse (for "backwards" compatibility), and that Pulse is configured to use the appropriate ALSA driver/device.

HTH and apologies beforehand if you've tried all this already...

edit flag offensive delete link more
0

answered 2012-02-16 09:34:24 -0500

mether gravatar image

Looks like noone knows the answer here. Consider asking in the PulseAudio list

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-02-03 01:49:43 -0500

Seen: 1,379 times

Last updated: Feb 17 '12