Opened 12 years ago
Last modified 10 years ago
#9242 new enhancement
Mixer: enable audio select output
Reported by: | dsjonny | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Drivers/Audio/HDA | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
It would be very useful if we can select the output for the audio. For example I can only use the jack with a headphone, but I want to use the HDMI as output. In the mixer panel I have 8 "Speaker", 1 "Mic In" and 1 "Front" output. The "Front" is for the jack headphone, but I cannot select the other outputs. This way would be the similar as the input source selection, where I can select the source from a popup menu. We need only to select the "Master"'s output.
Attachments (4)
Change History (13)
comment:1 by , 10 years ago
Component: | Add-Ons/Media/Mixer → Kits/Media Kit |
---|---|
Owner: | changed from | to
comment:2 by , 10 years ago
There is a drop down list for the audio output and the channel, but I have never seen more than one to select in the lists. I can see many outputs in the Mixer panel, but I can use only the primary, the default output. In the Mixer I can see different outputs on different PC-s.
Please see the attached screenshots. These are taken on a Lenovo T430 laptop. In the input tab I can select the input source, but in the output not.
by , 10 years ago
Attachment: | Media1.png added |
---|
by , 10 years ago
Attachment: | Media2.png added |
---|
by , 10 years ago
Attachment: | Media3.png added |
---|
comment:3 by , 10 years ago
Version: | R1/alpha4.1 → R1/Development |
---|
(as a side observation, if I read the screenshots well, the HDA driver might need tweaks for you setup, since it lists "left rear" and speaker as input jacks?)
This seems to be related to #8476.. To put it in a nutshell, 8476 is about not hardcoding association of all jacks together, i.e. all the output jacks lumped together as "HDA output 0", but rather, allowing one jack to be exposed as HDA output 0, another as HDA output1 ..etc; and then leave it up to the applications to choose which output to use. (Edit: as in this Cortex test done using a modified hda driver).
This ticket might be about something else (do I understand correctly that some of your jacks are silent, i.e. you do not get audio output from your front jacks/rear jacks/digital hdmi port but only from the headphone jack ?) though 8476 also has some discussion about GUI changes (where to add popup menus ..etc) that might be relevant here.
comment:4 by , 10 years ago
"This ticket might be about something else (do I understand correctly that some of your jacks are silent, i.e. you do not get audio output from your front jacks/rear jacks/digital hdmi port but only from the headphone jack ?)"
Yes. This is this ticket for.
And just a note: if I check the sylsog, when the driver loded there are all of the outputs/connectors are listed correctly. I will attach one syslog.
comment:5 by , 10 years ago
Type: | enhancement → bug |
---|
Go for it dsjonny ; if the driver mis-identifies the HDA input nodes (i.e. Speaker as an input?!) it could mis-identify output nodes too, leaving them silent (no audio output). The syslog will give good answers.
by , 10 years ago
comment:6 by , 10 years ago
Syslog attached. There are many-many info about many connectors. I hope this may help something.
comment:7 by , 10 years ago
Component: | Kits/Media Kit → Drivers/Audio/HDA |
---|---|
Owner: | changed from | to
Here's my reading of the syslog, I'm not used to seeing hda setup quite like this indeed:
There are 3 output->mixer->jack "chains", two of which share the same output number 2:
Fixed speaker 20 and black-colored jack "left HP out" (?) 21:
2 -> 12 -> 20, 21
23: not clear if it's a speaker of black-colored jack:
2 -> 15 -> 23
Last one:
3 -> 13 -> 25
Digital output 6 does not get connected to the (hdmi?) port 30 indeed.. The syslog does not give errors/reasons... Maybe it's because the driver needs a mixer node between 6 and 30. (I guess hda does support hdmi? not sure).
That's about where I can take it.. Korli will need to take over (are you setup for compiling haiku/drivers?, he might give you modifications to try out, for example comment out the "try with mixer" code so that the driver tries without mixer, like he had done to fix my audio output a couple years back)
comment:8 by , 10 years ago
FWIW we only look for one output path which is analog and stereo. The second HDA codec on your motherboard isn't selected and exposed. It's a missing feature. In any case, it wouldn't be a mixer control, but another output media node to be selected on the media preferences audio panel (like "HDA Audio 2").
comment:9 by , 10 years ago
Type: | bug → enhancement |
---|
It the Media preferences, in the "Audio settings" tab, there is a popup menu to select the output (Output (card) then Channel (output from that card)). Are your outputs not listed there?