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
[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
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: