Repository navigation
Feat/microphone plugin - #1
Merged
Merged
Conversation
- Rust core: models, state machine, commands and capabilities - Desktop native capture (cpal + hound): WAV, FLAC (flacenc) and Ogg/Opus (vendored libopus) - Android (Kotlin): AudioRecord WAV, MediaRecorder M4A/AAC and Ogg/Opus, permissions, metering, background foreground service - iOS (Swift): AVAudioRecorder WAV/M4A, metering, raw streaming and background session - JavaScript facade: unified API with mobile/desktop dispatch, raw PCM streaming and permissions - Permissions, covector release config, CI workflows, docs and example app
- Move flacenc to shared dependencies and extract encode_flac into src/flac.rs - Expose an in-process C-ABI encoder (mic_flac_open/write/finish); no panic crosses the FFI boundary - Android: FlacEncoder JNI bridge feeds AudioRecord PCM to the Rust encoder - iOS: AVAudioEngine tap feeds the Rust encoder via @_silgen_name - Resolve the requested format against platform support and degrade to WAV (never mislabel the container) - Advertise flac on Android/iOS and update docs
- Use npm as the single package manager in the example app (drop pnpm-lock.yaml, commit package-lock.json) and install with npm ci in CI - Install libasound2-dev/pkg-config for the Linux desktop build - Resolve the in-process FLAC encoder on iOS at runtime with dlsym and degrade to WAV when the symbols are not linked - Size the desktop meter buffer lazily so onMeter works regardless of subscription order, and document that native-format desktop recording has no metering
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.
No description provided.