dynamic loading for ALSA devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 
the replacement...

V.

V.



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux