Re: [PATCH 2/5] ALSA: snd_usb_caiaq: give better shortname

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

 



At Mon, 1 Jun 2009 23:09:25 +0200 (CEST),
Jaroslav Kysela wrote:
> 
> On Mon, 1 Jun 2009, Daniel Mack wrote:
> 
> > Give the card an 'id' name which will prevent ALSA from calling
> > choose_default_name(). This implementation only took the last part of a
> > name containing whitespaces which for example caused 'Audio 4 DJ' to be
> > shortened to 'DJ', which was not very descriptive.
> >
> > The implementation now takes the short name and removes all whitespaces
> > from it which is much nicer.
> 
> Unfortunately, this code does not handle id collisions for multiple cards. 

Moreover, the id can be passed via a module option.  Thus overriding
the id itself is no good idea.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux