Changes between Version 2 and Version 3 of Ticket #8476, comment 18


Ignore:
Timestamp:
Dec 11, 2014, 11:52:53 AM (10 years ago)
Author:
ttcoder

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8476, comment 18

    v2 v3  
    99EDIT: looks like it took me no longer than 3 years to fully understand korli's comment:6 ;-)
    1010
     11EDIT2: and I still have more learning to do..
     12
     13
     14
     15Looked at the Echo driver and now I'm not so sure that ticket #9477 relates to this one..
     16
     17
     18Maybe the "multi"-ness of the Echo card does not lie in its having 16 output jacks as I believed reading the other ticket -- indeed a quick search shows it has 8 output jacks, but rather in its ability to mix in hardware; thus Haiku can send up to 12 tracks to the card and offload mixing to the card, instead of mixing in the master mixer and sending that unique stereo feed to the card.
     19
     20To wit, the functions that setup output for HDA (baseline) and Echo, side by side, do exactly the same thing:
     21- http://cgit.haiku-os.org/haiku/tree/src/add-ons/kernel/drivers/audio/echo/multi.cpp?id=2311bdf24f00d956ce57db799321f02c2749a366#n565
     22- http://cgit.haiku-os.org/haiku/tree/src/add-ons/kernel/drivers/audio/hda/hda_multi_audio.cpp?id=2311bdf24f00d956ce57db799321f02c2749a366#n141
     23
     24They create one input and one output (both stereo, so 2x2 = 4 channels total), unlike my HDA hack which works by extending the number of channels from 4 to 6 (for a second stereo output).
     25
     26So the extra "busses" in the Echo driver are routed to the Echo mixer, not to the extra Echo jacks; unlike the HDA hacked driver which does route the (pre-mixed) multi audio to multiple output jacks.
     27
     28 ==
     29
     30Also tried the "Output/Input mapping" hidden tabs in Media Preferences, but it looks like they deal exclusively with output0, not with the output1 I create in the HDA hack. So it probably does 'stuff' when run with an Echo, but not for us with the HDA hacked driver.
     31(to wit: in the Output mapping tab, none of the checkboxes have any effect on output1, and for output0 only 2 of them all have an effect; same with Input Mapping tab).
     32
     33So looks like we are trail-blazing with HDA in this ticket, it will be the first driver to really address several jacks :-)..
     34
     35(I still find the "Routing" tabs are a possible inspiration for the GUI to create in the future to expose HDA multi-output capabilities though).
     36