NaomiProject / Naomi

The Naomi Project is an open source, technology agnostic platform for developing always-on, voice-controlled applications!
https://projectnaomi.com/
MIT License
242 stars 47 forks source link

Fixes for Alsa #407

Closed aaronchantrill closed 1 month ago

aaronchantrill commented 1 month ago

Description

When the asynchronous mic was introduced, some formatting changes were made that were not copied into the Alsa audio engine plugin.

Related Issue

Alsa engine not working #406

Motivation and Context

I'm just trying to use the Alsa engine with Naomi, mostly because right now, running inside the docker container, we don't have pulseaudio or pipewire working yet. The devices pyaudio can see are not compatible with any arbitrary bitrate and format. Plughw alsa devices do the audio format conversions on the fly so they can play anything, which is also what we use pulseaudio/pipewire for.

How Has This Been Tested?

Tested by running Naomi with alsa selected as the audio engine, also by running unittests.

Types of changes

Checklist: