Dummy audio thread to keep display responsive when no audio device.

This commit is contained in:
Robin Davies
2024-08-26 22:42:15 -04:00
parent 150ca25491
commit 179d1aa025
18 changed files with 972 additions and 332 deletions
+2
View File
@@ -18,6 +18,7 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "Updater.hpp"
#include "util.hpp"
#include "json.hpp"
#include "config.hpp"
#include <sys/eventfd.h>
@@ -165,6 +166,7 @@ void Updater::SetUpdateListener(UpdateListener &&listener)
void Updater::ThreadProc()
{
SetThreadName("UpdateMonitor");
struct pollfd pfd;
pfd.fd = this->event_reader;
pfd.events = POLLIN;