[haiku-bugs] Re: [Haiku] #8476: Spare HDA jacks available - how can we address them?

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Sun, 03 Jun 2012 13:13:10 -0000

#8476: Spare HDA jacks available - how can we address them?
---------------------------------+----------------------------
   Reporter:  dsuden             |      Owner:  korli
       Type:  enhancement        |     Status:  new
   Priority:  normal             |  Milestone:  R1
  Component:  Drivers/Audio/HDA  |    Version:  R1/Development
 Resolution:                     |   Keywords:
 Blocked By:                     |   Blocking:
Has a Patch:  0                  |   Platform:  All
---------------------------------+----------------------------

Comment (by ttcoder):

 Here's a snapshot, for the sake of keeping an online summary of off-ticket
 discussions:

 - a) we clearly want to keep the driver talking to media_server as normal,
 and access multi-audio through the media_server only.
 - b) turns out the userland code to access multiple streams probably won't
 be hard: the e.g. tunetracker code (released under a MIT/BSD license for
 other apps to use) which implements targetting a specific audio card
 (other than the "main" one) might be used for accessing a specific audio
 jack (other than the "line out" one). (<''The multiaudio addon will expose
 an input for each stream exposed by the driver. The user can select this
 input in the Media preflet for the mixer output.''>)
 - c) the key to solving this ticket, thus, is to implement code driver-
 side; so that the HDA driver 1) allows for more than just one output
 stereo stream, 2) can route that output playback stream to an output
 "widget" in HDA parlance and then 3) route that output widget to an output
 connector (a jack other than the main output jack).

 So it seems out of the above 3 points, #b is something I can handle on my
 own and only for #c do we need help. As soon as I have time I'll get back
 to reading/understanding the HDA code and see if I can contribute more
 than moral encouragement for the "multiple playback streams" ..etc stuff
 ;-)

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8476#comment:12>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: