[pulseaudio-discuss] Pulseaudio and USB sound device M-Audio Audiophile USB
Lennart Poettering
lennart at poettering.net
Wed Jul 1 12:15:49 PDT 2009
On Wed, 01.07.09 20:56, Stephan Seitz (stse+pulse at fsing.rootsland.net) wrote:
> To make it work I have to edit default.pa and insert the following lines:
> # onboard
> load-module module-alsa-sink device=hw:0,0 sink_name=output_intern
> # audiophile usb
> load-module module-alsa-sink device=hw:1,1 sink_name=output_digital
> set-default-sink output_digital
Uh. That is ugly. You should access analog audio via the "front:xxx"
device, and digital audio via "spdif:yyy". Thou shalt not use the raw
"hw:xxx" device string.
> Now I get sound via the digital output, but I have other problems:
>
> - pulseaudio won’t start without the connected Audiophile USB device.
> - pulseaudio stops working and crashes after a time if the USB device is
> disconnected.
Crashes? Could you get me a backtrace for that? PA shouldn't crash.
> So what can I do to configure pulseaudio in a way, that it can play
> digital output via the USB device but is able to survice the
> connect/disconnect situation?
All that's necessary for PA 0.9.15 to pick it up is that the
"spdif:xxx" device works. If it doesn't, then please file a bug
against ALSA.
Try:
aplay -f CD -D spdif:xxx < /dev/urandom
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the pulseaudio-discuss
mailing list