doesn anybody actually ever assign to snd_ac97.indep_surround?

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

 



Title: doesn anybody actually ever assign to snd_ac97.indep_surround?

It seems to me that this is something that one might want to fill out on a per card/motherboar basis, because it appears that there functions that try to make decisions based on it's status:

/* system has shared jacks with surround out enabled */
static inline int is_shared_surrout(struct snd_ac97 *ac97)
{
        return !ac97->indep_surround && is_surround_on(ac97);
}

/* system has shared jacks with center/lfe out enabled */
static inline int is_shared_clfeout(struct snd_ac97 *ac97)
{
        return !ac97->indep_surround && is_clfe_on(ac97);
}

/* system has shared jacks with line in enabled */
static inline int is_shared_linein(struct snd_ac97 *ac97)
{
        return !ac97->indep_surround && !is_surround_on(ac97);
}

/* system has shared jacks with mic in enabled */
static inline int is_shared_micin(struct snd_ac97 *ac97)
{
        return !ac97->indep_surround && !is_clfe_on(ac97);
}


so, where do i set this thing? how do i distinguish between a chip installed on a board/card with 3 bidirection plugs vs a board with several dedicated ins and outs?

or, is this whole thing an idea that is in the code but not actively utilized?

tnx!

johnu

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/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