alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Future of the HDA driver
@ 2011-10-03 12:01 David Henningsson
  2011-10-03 12:12 ` Mark Brown
  2011-10-03 12:27 ` Takashi Iwai
  0 siblings, 2 replies; 14+ messages in thread
From: David Henningsson @ 2011-10-03 12:01 UTC (permalink / raw)
  To: Takashi Iwai, ALSA Development Mailing List

Hi Takashi etc,

1) I think it would make sense to have a designated time and room for a 
"future of HDA" discussion in Prague. We could e g discuss input jacks 
as kcontrols, and exposing routing to user space, as IIRC Mark Brown was 
suggestion earlier. What do you think?

2) With Ubuntu 11.10 in a "Freeze" state and PulseAudio 1.0 out the 
door, I might have some time to contribute to the HDA driver...at least 
if not a lot of urgent stuff comes up, and up to the 3.2 merge window or 
so. (Any idea how far away that would be?) Do you think it would make 
sense to split hda_codec.c into hda_codec.c and hda_autoparser.c, move 
snd_hda_parse_pin_defcfg there, then add more functions as discovered to 
be useful to more than one autoparser?

3) One thing that has been annoyed me lately is the moving of hp out or 
speaker out to line out, which IMO leads to somewhat messy code. Seen in 
retrospect of course, don't you think it would make more sense to do let 
line_out_pins be "line out" only, and add one more variable primary_out 
that would be initialized as:

primary_out_pins = line_outs ? &line_out_pins : (speaker_outs ? 
&speaker_out_pins : (hp_outs ? &hp_out_pins : NULL))

..and then you could do something like:

#define hp_is_primary_out(_auto) ((_auto)->primary_out_pins == 
&(_auto)->hp_out_pins)

Redoing that will probably require careful reading to avoid regressions 
though...

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-10-04 19:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-03 12:01 Future of the HDA driver David Henningsson
2011-10-03 12:12 ` Mark Brown
2011-10-03 12:14   ` David Henningsson
2011-10-03 12:31     ` Takashi Iwai
2011-10-03 12:34     ` Mark Brown
2011-10-03 12:27 ` Takashi Iwai
2011-10-03 13:14   ` David Henningsson
2011-10-03 15:31     ` Takashi Iwai
2011-10-03 14:04   ` Jaroslav Kysela
2011-10-03 15:05     ` David Henningsson
2011-10-03 15:42     ` Takashi Iwai
2011-10-04  8:56       ` Jaroslav Kysela
2011-10-04 16:33         ` David Henningsson
2011-10-04 19:31   ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).