Posts: 75
Joined: Jun 2012
Reputation:
0
I wanted to pass through high def audio to my AVR with Kodi on my HTPC and followed the instructions to disable Pulse Audio by adding autospawn = no to client.conf. Everything works perfectly while watching videos in Kodi just as I wanted.
However when I exit Kodi and try to watch a YouTube video or other sources I do not hear any audio at all. I'm a bit new to Linux so not sure what might be happening and how to potentially fix it. Did the fix I made for Kodi disable sound in other non-Kodi applications (even when Kodi is shut down)?
I am running Kodi 16.1 on Ubuntu 16.04 and using an NVidia GT 430 video card and HDMI for video and audio.
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
This "fix" disables pulseaudio, globally. So webbrowser and so on cannot mix properly. If you only use AC3, DTS, EAC3 - then pulseaudio can be configured to do that, also (see our pulseaudio wiki)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 75
Joined: Jun 2012
Reputation:
0
Thank you. I do want to use ALSA for Kodi because I want to use HD Audio passthrough. When I exit Kodi, how can I get audio from other applications like YouTube or Firefox, ideally still using ALSA?
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
"Ideally still using ALSA"?
Create an /etc/asound.conf that has your hdmi output as default device, reboot - done.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
Most likely no :-)
it depends on the alsa output, check: aplay -l (small "ell") to find out the correct card and it's output
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 75
Joined: Jun 2012
Reputation:
0
Here is the output of aplay -l. I think device 9 is the active HDMI
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Posts: 75
Joined: Jun 2012
Reputation:
0
Thank you. Both work. Solved.