Sound on hdmi & earphone jack
Back in early 2015 I had a problem with getting a sound setup for a projector in a hall. Usually, I needed to stream to hdmi, but to accommodate translation, I needed video on hdmi and sound on the earphone jack. Some kind soul sent me an alsa config piece on resampling the hdmi, (mine had digital going to audio giving fierce noise) and gave me an explanation (digital --> analogue) and I had an ~/.asoundrc which I put in via a script that switched from jack to hdmi.
Now I have updated, deleted the resampling config not realising what it was, and only this morning cleared the backup. It's intel hda. Does anyone have the resampling config magic for alsa, or pulseaudio. I think I found the .asoundrc with a thread searchhttp://www.linuxquestions.org/questi...io-4175533450/ |
Are you using 14.1 from 2015, 14.2 or current? You could use apulse to manage sound interfaces instead of .config files from alsa.
|
I have 14.2 installed, with no sound on hdmp at the moment, nor does it show in pavucontrol. I don't run pulseaudio, and have been relying on alsa, but that can change. The soundcard shows this way:
Code:
bash-4.3$ aplay -l Can it be done with pulse audio? I'll drag my sound system into the 21st century if necessary. EDIT: My ideal would be to have hdmi take the sound when plugged in unless I did something to send it to speakers/earphones. I set up a luser back in 2015 for use in the hall, in case others had to use my pc. As it turned out, they did because people couldn't configure m$ windows or MacOS as well as LQ helped me to configure linux. I played a video as that user. I lost X immediately, froze the pc, nobbled keyboards, but the audio worked perfectly in speakers - earphones. I presume vlc was running that. That means vlc's oddities are related to my user config. |
Solved this. A copy of the resampling config turned out to be buried in the extra luser's directory, and I attach it here. The rest of this is basic housekeeping, and if I have an issue I'll post.
Code:
pcm.hdmi_hw { |
All times are GMT -5. The time now is 11:50 AM. |