if ((cfg->speaker_outs == 2) && (cfg->hp_outs == 2))
if (cfg->line_out_type == AUTO_PIN_HP_OUT) for(i=0; i<2; i++) if (assoc_of_nid(codec,cfg->line_out_pins[i]) > assoc_of_nid(codec,cfg->speaker_pins[i])) badness++;
add the above in fill_and_eval_dacs() in hda_generic.c after
if ( spec->mixer_nid) {
}
this increase badness of cfg->line_out_type == AUTO_PIN_HP_OUT by one when the second headphone have higher def association than subwoofer , driver create speaker and bass speaker volume controls and headphone volume control for headset and headphone
#define assoc_of_nid(c,p) get_defcfg_ association( snd_hda_ codec_get_ pincfg( c,p))
if ((cfg->speaker_outs == 2) && (cfg->hp_outs == 2))
for(i=0; i<2; i++)
if (assoc_ of_nid( codec,cfg- >line_out_ pins[i] ) > assoc_of_ nid(codec, cfg->speaker_ pins[i] ))
badness+ +;
if (cfg->line_out_type == AUTO_PIN_HP_OUT)
add the above in fill_and_ eval_dacs( ) in hda_generic.c after
if ( spec->mixer_nid) {
}
this increase badness of cfg->line_out_type == AUTO_PIN_HP_OUT by one when the second headphone have higher def association than subwoofer , driver create speaker and bass speaker volume controls and headphone volume control for headset and headphone