Repository navigation
Conversation
it also improves Android 12+ compat and reduce warnings on build
Recording from a Bluetooth mic forced AudioSource.VOICE_COMMUNICATION and switched the phone to MODE_IN_COMMUNICATION. That routes capture through the VoIP path, which records about 10 dB quieter than a regular source. Use the user's microphone mode (MIC for "System default") instead, and only enter call mode on the pre-Android 12 startBluetoothSco path; setCommunicationDevice routes the SCO mic without it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a gain slider (0 to +24 dB) and a peak level meter to the recorder screen. Gain changes apply immediately, also during a recording, and are ramped to avoid clicks; a soft limiter above -1 dBFS keeps boosted peaks from hard clipping. The meter previews the input while idle on the recorder tab, including over Bluetooth, so gain can be set before recording. Applying gain needs the raw samples, which MediaRecorder doesn't expose, so m4a and ogg are now recorded by PcmEncoderRecorder (AudioRecord -> GainProcessor -> MediaCodec -> MediaMuxer). MediaRecorderWrapper remains as a fallback when no usable encoder is available. MP3 applies the gain in its existing encode loop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Fossify accepts code contributions only for open issues labeled |
This was referenced Oct 25, 2026
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.
Type of change(s)
What changed and why
VOICE_COMMUNICATIONon Android 12+ to prevent the 10 dB attenuation and loss of sampling rate. This brings it on par with how Blackmagic Design Camera App reads Bluetooth mics.mainwithout More robust PR-317 external storage #443Tests performed
Closes the following issue(s)
Checklist
CHANGELOG.md(if applicable).