I am struggling to get sound working over HDMI. Using a
Raspberry Pi 2 and up to date Libreleec (8.1.2). HDMI cable to receiver and
from that on to TV.
I installed the repository and retroarch and Emulation
Station. For now focusing on retroarch. I can start it, use controller and
launch games but no audio.
I have read parts of this thread and used google and these
are the things I have tried:
-Raspberry config.txt, added some lines (drive=2 and
edid_audio=1 and group=1 and mode=16), now looks like this
[all]
include
distroconfig.txt
dtparam=audio=on
initial_turbo=0
hdmi_drive=2
hdmi_force_edid_audio=1
hdmi_group=1
hdmi_mode=16
hdmi_pixel_encoding=0
hdmi_ignore_hotplug=0
hdmi_edid_file=0
-
Also tried aplay -l, this is my response. Similar
to another user in this thread. Am I correct in assuming this meand hardware
0,0? I also often read 1,3 and honestly have no clue what it is and am simply
following instructions
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0:
bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1:
bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
This
is also where I struggle most. I edited retroarch.cfg in /storage/.kodi/userdata/addon_data/game.retroarch
where I know have:
audio_device = "0,0" – no other edits in this file.
I also looked in retroarch settings where audio is set to alsa
(tried a few others). After launch audio device was listed as a square symbol □.
I also changed that to 0,3 and 0.3 (assume comma) and other combinations like
0.0 and 0.2
Audio is not muted in settings and I set gain to +1. And this is
where I am stuck now.
Any clues on where/how I should continue?