Anno domini 2022 Sat, 7 May 22:44:19 -0700
William Morder via tde-users scripsit:
On Saturday 07 May 2022 22:26:17 Dr. Nikolaus Klepp wrote:
Wild guess: mplayer uses card 0 aka HDMI. Does asoud.conf look like this?
$ cat /etc/asound.conf
defaults.pcm.card 1
defaults.ctl.card 1
defaults.timer.card 1
Nik
No. But this is because there is NO asound.conf file that I can find. I also
looked around in other likely places, but no luck.
Then create one. Mplayer et al. usually use card 0 to play sound, and that is in your case
HDMI. It might be that you can put these lines in ~/,asoundrc, but I'm not sure.
You can get the list of active soundcards (here from the system I'm at right now):
$ cat /proc/asound/cards
0 [CinemaTM ]: USB-Audio - Microsoft® LifeCam Cinema(TM)
Microsoft Microsoft® LifeCam Cinema(TM) at usb-0000:02:00.0-2.4,
high speed
1 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfc400000 irq 53
2 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfc080000 irq 51
... and my headphones are on card 1, that's why I autogenerate /etc/asound.conf each
time (those noce lines ..). I also have a /etc/modprobe.d/alsa-base.conf, that moves the
webcams soundsystem to card 0 (otherwise jitsi wont't work on firefox) and HDMI to
card 2 (othewise firefox send audio to HDMI):
$ cat /etc/modprobe.d/alsa-base.conf
options snd_usb_audio index=0
#options snd_hda_intel index=1,2,3
options snd_hda_intel index=2,1
#options snd_hda_intel index=3,2,1 enable=0,0,1
Next thing: delete all configs of mplayer/smplayer etc that do not work.
For reference:
https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture
Nik
Bill
____________________________________________________
tde-users mailing list -- users(a)trinitydesktop.org
To unsubscribe send an email to users-leave(a)trinitydesktop.org
Web mail archive available at
https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskt…
--
Please do not email me anything that you are not comfortable also sharing with the NSA,
CIA ...