Implementation of microphone input backend for Linux (--from-mic)#13
Open
Lompo790 wants to merge 2 commits intoantirez:mainfrom
Open
Implementation of microphone input backend for Linux (--from-mic)#13Lompo790 wants to merge 2 commits intoantirez:mainfrom
Lompo790 wants to merge 2 commits intoantirez:mainfrom
Conversation
stapelberg
reviewed
Feb 15, 2026
Enable --from-mic support on GNU/Linux by introducing a native ALSA-based microphone input backend implementing the voxtral_mic.h interface, matching the behavior of the existing macOS backend. - Added voxtral_mic_linux.c with ALSA capture implementing voxtral_mic.h - Added OS-agnostic microphone test tool using voxtral_mic.h - Updated Makefile BLAS target to build Linux mic backend - Added mic_test target to the Makefile for mic test builds - Extended README with new features - Updated .gitignore for new build artifacts
40da0ef to
f5e2edf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR extends --from-mic support to GNU/Linux by introducing a native ALSA-based microphone input backend, implementing the voxtral_mic.h interface, matching the behavior of the existing macOS backend.
A tool for the user microphone tests has also been added (for both macOS and GNU/Linux).
Diff
Testing
Tested on Debian GNU/Linux 13 (kernel 6.12.69, x86_64)