Repository navigation
feat(android): add a 'game' output profile - #1556
HuntedCode wants to merge 1 commit into
Conversation
Closes software-mansion#1554 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
C++ coverageSmoke suites, Clang source-based coverage.
Lines changed in this pull requestNo changed lines with coverage information. Workflow run · this comment is updated on every push. |
WPT non-regression comparisonPASS — no regressions · 0 improved section(s) · overall 3497 → 3497 (0) Unchanged sections (28)
Baseline: Workflow run · this comment is updated on every push. |
Closes #1554
'media'stays the default and is unchanged.Introduced changes
androidOutputProfileaccepts'game', which opens the output stream with Oboe'sUsage::Game. The content type stays Oboe's default, as for'media'.AndroidAudioPlayer::openAudioStreamLockedbecomes aswitch, so the compiler points out a profile added later without a case.game.Testing
'game'and'voiceCommunication'..cppfiles compile with NDK 27 (arm64, syntax only). I could not build the example app on Windows, so this relies on CI for the full native build.setUsage(Usage::Game)call as a patch on 0.13.6, not this branch:dumpsys audioreports the stream asUSAGE_GAMEinstead ofUSAGE_MEDIA, and the media volume still controls it.Checklist
release/X.Yonly for fixes to the released version)🤖 Generated with Claude Code
Summary by CodeRabbit
gameoption for Android audio output profiles, allowing audio to be identified as game audio while retaining media volume behavior.gameprofile behaves likemedia.voiceCommunicationprofile to classify output as speech.