fmtr / amniotic

A multi-output ambient sound mixer for Home Assistant. Amniotic lets you use a single device to create on-the-fly, custom ambient audio mixes to suit your tastes and environment.
17 stars 1 forks source link

pulse audio output error: overflow, flushing #20

Open WhoDunDidIt opened 3 months ago

WhoDunDidIt commented 3 months ago

I finally figured out that when using the addon, the speakers must be connected to the server, I had assumed I could route the audio to any media player.

I installed it on a RPi 3b+ and got it to work, but after adding a 3rd theme (audio layer), I get spammed with

[0000007f6c114c80] pulse audio output error: overflow, flushing

and the audio fails.

This seems to happen whenever I add a 3rd layer.

ejohb commented 2 months ago

Hmm. I've not seen this before, and don't have a Pi 3 to test on. It's possible it's some hardware/driver limitation. Could you give a few more details?

Edit: I've tested on a Pi Zero 2W (which has fairly similar specs to a Pi 3) and was able to enable 5+ Themes without any issues, using a single CM108 USB Adapter.

PS: Streaming to media player entities is the main requested feature. See this thread for that discussion.