Fix Android hello-world gain and validate audio levels - #7
Merged
linuxificator merged 13 commits intoAug 23, 2026
Conversation
linuxificator
marked this pull request as ready for review
August 23, 2026 09:11
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.
Corrects the Android hello-world master gain from V2.0 to V10.0 after verifying AMY's V control is a 0..10 bus/master scale whose final mixer applies a 0.1 factor. Adds test-triggered four-second signed-16-bit WAV capture at two points: the raw AMY render stream and the exact callback buffer handed to Oboe. CI checks 48 kHz stereo format, byte-for-byte AMY-to-Oboe identity, a minimum -6 dBFS peak, and absence of full-scale clipping, and retains both WAVs plus level statistics as an artifact.
Validation at V2.0 measured peak -16.710 dBFS / RMS -21.308 dBFS with zero AMY-to-Oboe differences. Validation at V10.0 measured peak -2.721 dBFS / RMS about -7.2 dBFS, zero clipping, and zero AMY-to-Oboe differences. This demonstrates that the reported low volume originated in the hello-world AMY gain setting, not attenuation in the Oboe adapter.
Final validation: Android AMY run 32630088165 passed the socket regression, AAR/APK build, two cold emulator launches, audio-level analysis, and audio capture artifact upload.