Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

"pulse" special device is not visible #57

Open
IonAgorria opened this issue Apr 10, 2016 · 1 comment
Open

"pulse" special device is not visible #57

IonAgorria opened this issue Apr 10, 2016 · 1 comment

Comments

@IonAgorria
Copy link

When one wants to control the PulseAudio via the special "pulse" device can set the device in the config manually, but is not visible in the device list.

@nkoep
Copy link
Collaborator

nkoep commented Aug 15, 2018

This is indeed a bit clunky. The problem is that the "devices" listed in the settings are actually available cards as returned by ALSA, and since cards and devices aren't synonymous in ALSA (cf. https://en.wikipedia.org/wiki/Advanced_Linux_Sound_Architecture#Concepts), the virtual pulse device never appears in the list. The reason why it works by manually defining card=pulse in volumeicon's config is that any card name that wasn't reported by ALSA via snd_card_next yet gets added to the list manually. A potentially nicer workaround would be to define "pulse" as the default device in your `~/.asoundrc* file, e.g.,

pcm.pulse {
    type pulse
}

ctl.pulse {
    type pulse
}

pcm.default pulse
ctl.default pulse

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants