Audio through HDMI only. Want to use GPIO for audio.
- /RaspberryPi
- Corporate
- Posts: 2449
- Joined: Wed Jun 05, 2019 1:29 am
Audio through HDMI only. Want to use GPIO for audio.
I am setting up a raspberry to play random videos using omxplayer, similar to the Simpsons TV build (https://withrow.io/simpsons-tv-build-guide-waveshare). However I am using a pi 3b and a 3.5" HDMI display instead (http://www.lcdwiki.com/3.5inch_HDMI_Display-B). My os is a lite version of raspbian.
I want to use the GPIO for audio to make it as compact as possible. However I can only get the audio to work on the 3.5 jack on the LCD board. I am assuming this is coming from the HDMI.
I have added "dtparam=audio=on" and "dtoverlay=audremap,enable_jack,pins_18_19" to the config file, and "raspi-gpio set 18 op dl" and "raspi-gpio set 19 op a5" to rc.local.
I have also tried all the audio output options in raspi-config and nothing changes. The audio only comes out of the jack on the LCD board.
submitted by /u/TwelfTundra
[link] [comments]
Source: https://www.reddit.com/r/raspberry_pi/c ... for_audio/
/RaspberryPi