FS#27829 - Add hints fields for pulse devices
Attached to Project:
Arch Linux
Opened by Andrew Eikum (ColdPie) - Wednesday, 04 January 2012, 21:02 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 04 January 2012, 22:38 GMT
Opened by Andrew Eikum (ColdPie) - Wednesday, 04 January 2012, 21:02 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 04 January 2012, 22:38 GMT
|
Details
The pulseaudio-alsa package provides /etc/asound.conf which
sets the PulseAudio ALSA plugin as the
backend for the "default" device, and creates a new "pulse" device with the same properties. These devices should both be given hints fields so that they appear in output from snd_device_name_hint(). You can test the output from this function with "aplay -L". Notice that neither the "default" device nor the "pulse" device appear in that output when this asound.conf is present. See upstream files for examples: http://git.alsa-project.org/?p=alsa-plugins.git;a=blob;f=pulse/50-pulseaudio.conf;h=dd85dab835168bde84d7b8a3be78fb896ece8ea8;hb=HEAD http://git.alsa-project.org/?p=alsa-plugins.git;a=blob;f=pulse/99-pulseaudio-default.conf.example;h=4f5885806898a76f5a5c9b3ec76b804fe54e2480;hb=HEAD |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Wednesday, 04 January 2012, 22:38 GMT
Reason for closing: Implemented
Wednesday, 04 January 2012, 22:38 GMT
Reason for closing: Implemented
Comment by
Jan Alexander Steffens (heftig) -
Wednesday, 04 January 2012, 22:34 GMT
Thanks, added to trunk. Since this isn't critical, release will
probably wait a while until more interesting changes roll in (the
next release of the ALSA pulse plugin should feature fallback to
another device (e.g. dmix) if pulse isn't running, which requires
some changes to asound.conf).