Re: vaio_mux's num_items is not equal to the actual items

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

 



At Thu, 11 Oct 2007 17:13:13 +0800,
zhejiang wrote:
> 
> 
> In patch_sigmatel.c,
> 
> static struct hda_input_mux vaio_mux = {
> 	.num_items = 2,
> 	.items = {
> 		/* { "HP", 0x0 }, */
> 		{ "Mic Jack", 0x1 },
> 		{ "Internal Mic", 0x2 },
> 		{ "PCM", 0x3 },
> 	}
> };
> 
> Why is the num_items  not 3 ?
> The "PCM" won't be selected with num_times = 2.

Oops, simply forgot to change the value after a separate mic item was
added.  Will fix now.


Thanks,

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