Re: dev_* output functions and ASoC codecs

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

 



On Mon, Oct 12, 2009 at 10:26:09AM +0800, Barry Song wrote:

Please don't top post and please start new threads for new topics.

> We use many global variables in asoc now, except defining two/multi
> groups of global variables to fulfill two/multi codecs work at the
> same time in one system, is there any other way?

Could you be more specific about which variables you are talking about
here?  In general you should just use the struct device driver data or
a private data field in one of the ASoC structures for any per-device
data, in much the same way as you would do for any other system.
_______________________________________________
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