knute
Posts: 724
Joined: Thu Oct 23, 2014 12:14 am
Location: Texas
Contact: Website

Java sound audio only goes out the analog port?

Thu Oct 14, 2021 2:31 am

I discovered that programs that used java sound were not making any on my Pi4. After trying numerous things that didn't work, I discovered that the sound was coming out the analog port even though all other sound goes out the HDMI port. It is configured to use the HDMI port. I don't know when this stopped working correctly but it has to be in the last few months. I've tested it with Bellsoft Java 17 and OpenJDK 11. No difference.

Any ideas on how to get this to work?

Joop99
Posts: 72
Joined: Fri Jul 23, 2021 1:23 pm

Re: Java sound audio only goes out the analog port?

Fri Oct 15, 2021 3:37 pm

See this topic: viewtopic.php?f=28&hilit=java%20sound&p ... 5#p1626794
May be this helps, did for me. I have a Pi400 and OpenJDK11. Have sound on USB via a USB soundcard.

Return to “Java”