This my design. To reduce the latency, sbitx works directly with alsa that allows only one program to take ownership at a time.
To allow playing of multiple streams simultaneously we will have to switch to pulseaudio api. Unfortunately that does not give us as good control as does alsa.
On Fri, Apr 14, 2023, 2:31 PM Evan Hand <elhandjr@...> wrote:
Update:
I had the Sbitx turned off for a couple of hours.? I turned it on and did some file-checking to verify everything was correct.? I opened a YouTube browser to confirm that I still had a problem.? This time I could open the page and play a track. - closed the browser and started the sbitx software.? All worked as expected. - I tried to open the same YouTube page and failed again. - power-cycled the sbitx and tried again.? It failed to open the Youtube page. - I left it off for 15 minutes, and it worked again. - turned the sbitx off, connected the HDMI monitor, and tried to play YouTube music.? It failed. - turned off. Disconnected the power leads and shorted the input to discharge any capacitors. Restarted, and the sound played. - I exited Chrome. I restarted Chrome. I tried to play music, and it failed again. - I went through several tries with different times of discharging the capacitor and could not get predictable results.? Sometimes it would play, and others, it would fail.
I then tried to disable the HDMI sound with the following: dtoverlay=vc4-kms-v3d,noaudio It would allow me to start Chrome and navigate to the YouTube webpage, but no sound anywhere.
So it seems that the sound card will work for one application and then needs to be reset with a power cycle and a wait time.? Nothing I tried would allow the sound to be played on YouTube with the HDMI monitor attached.? Everything points to the WM8731 codec as the issue with it being in the operating system or setup.