[pulseaudio-discuss] dynamic loading for ALSA devices
vsviridov at exceede.com
Thu Jul 12 17:01:53 PDT 2007
Jon Smirl wrote:
> On 7/12/07, Vasili Sviridov <vsviridov at exceede.com> wrote:
>> As a side-note - it would be nice to do it like hotplug does it -
>> meaning - maintain a mapping between ugly sink names and nice and
>> legible sink names. (or maybe renaming sinks in runtime and maintaining
>> that as well, so it works after plug/unplug).
> HAL knows that my
> alsa_output.usb_device_471_155_noserial_if0_alsa_playback_0 is a
> "Philips PSC805" and that my
> alsa_output.pci_device_8086_24d6_alsa_playback_0 is a "Intel ICH5 ALSA
> Playback Device".
> Could different HAL names be used instead?
It looks that lines 185 & 188 in module-hal-detect.c are responsibe for
source's and sink's names.
They just append HAL's device identifier. One can hook in there to do
More information about the pulseaudio-discuss