You are not logged in.

#1 2009-11-26 18:47:15

userlander
Member
Registered: 2008-08-23
Posts: 413

Pulseaudio and USB Dac

How do I get pulseaudio to see my USB dac? It keeps playing sound through the sound card only.

I've added "load-module module-udev-detect" to default.pa, and changed my ~/.asoundrc to include:

pcm.pulse {
    type pulse
}
ctl.pulse {
    type pulse
}

pcm.!default {
    type pulse
}
ctl.!default {
    type pulse
}

aplay -L shows this, but I don't know what to add as the alsa-sinks:

default:CARD=CS46xx
    Sound Fusion CS46xx, CS46xx
    Default Audio Device
front:CARD=CS46xx,DEV=0
    Sound Fusion CS46xx, CS46xx
    Front speakers
rear:CARD=CS46xx,DEV=0
    Sound Fusion CS46xx, CS46xx - Rear
    Rear speakers
center_lfe:CARD=CS46xx,DEV=0
    Sound Fusion CS46xx, CS46xx - Center LFE
    Center and Subwoofer speakers
surround40:CARD=CS46xx,DEV=0
    Sound Fusion CS46xx, CS46xx
    4.0 Surround output to Front and Rear speakers
surround41:CARD=CS46xx,DEV=0
    Sound Fusion CS46xx, CS46xx
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CS46xx,DEV=0
    Sound Fusion CS46xx, CS46xx
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CS46xx,DEV=0
    Sound Fusion CS46xx, CS46xx
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=CS46xx,DEV=0
    Sound Fusion CS46xx, CS46xx - IEC958
    IEC958 (S/PDIF) Digital Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=default
    USB Audio DAC   , USB Audio
    Default Audio Device
front:CARD=default,DEV=0
    USB Audio DAC   , USB Audio
    Front speakers
surround40:CARD=default,DEV=0
    USB Audio DAC   , USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=default,DEV=0
    USB Audio DAC   , USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=default,DEV=0
    USB Audio DAC   , USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=default,DEV=0
    USB Audio DAC   , USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=default,DEV=0
    USB Audio DAC   , USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=default,DEV=0
    USB Audio DAC   , USB Audio
    IEC958 (S/PDIF) Digital Audio Output

Offline

#2 2009-11-27 13:15:26

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: Pulseaudio and USB Dac

Bump

Offline

#3 2009-11-27 19:10:52

denisfalqueto
Member
From: ES, Brazil
Registered: 2006-03-24
Posts: 197

Re: Pulseaudio and USB Dac

I think you can do it in pavucontrol. Theres the "Output devices" tab, which should be showing your devices. You can select the default one by pressing the green button with a check mark. This is what I do with my PCMCIA audio board.

Hope that helps.


Satisfied users don't rant, so you'll never know how many of us there are.

Offline

#4 2009-11-27 23:22:29

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: Pulseaudio and USB Dac

You should also check if the 'Configuration' tab has your USB Dac.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2009-11-29 03:51:11

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: Pulseaudio and USB Dac

denisfalqueto wrote:

I think you can do it in pavucontrol. Theres the "Output devices" tab, which should be showing your devices. You can select the default one by pressing the green button with a check mark. This is what I do with my PCMCIA audio board.

Hope that helps.

I was trying to do it manually. pavucontrol doesn't work with the ubuntu font packages. :-(

10:48 PM:~ $ pavucontrol 
pavucontrol: error while loading shared libraries: libglademm-2.4.so.1: cannot open shared object file: No such file or directory

# pacman -S libglademm
resolving dependencies...
looking for inter-conflicts...
:: cairo conflicts with cairo-ubuntu. Remove cairo-ubuntu? [Y/n] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: cairo: conflicts with cairo-ubuntu

Offline

#6 2009-11-29 08:46:08

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: Pulseaudio and USB Dac

That is a bug with cairo-ubuntu, then, it should provide cairo at least so that libglademm can be installed etc.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#7 2009-11-29 20:13:13

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: Pulseaudio and USB Dac

ngoonee wrote:

That is a bug with cairo-ubuntu, then, it should provide cairo at least so that libglademm can be installed etc.

Can't it be configured CLI, without pavucontrol? I can't uninstall the ubuntu font packages, it looks like crap without one of those alternative (ubunut, lcd, etc.) I have pavdevchooser installed (the only other one that would install), but I think that probably has the same library error:

$ padevchooser

** (padevchooser:5278): WARNING **: pa_browser_new() failed.

Offline

#8 2009-11-29 22:58:13

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: Pulseaudio and USB Dac

Yes, you can. Its complicated. Check out documentation for using pactl and pacmd.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB