Skip to content

fix(sound): drawer sound effects follow media volume, as on iOS - #13

Merged
R44VC0RP merged 1 commit into
mainfrom
feedback-sounds-notifications
Nov 9, 2026
Merged

R44VC0RP merged 1 commit into
mainfrom
feedback-sounds-notifications

Conversation

@R44VC0RP

@R44VC0RP R44VC0RP commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

User report on v0.3.0 (X): "Experimental › Drawer › Sound Effects don't seem to be working."

The sounds were in the APK and played, but through USAGE_ASSISTANCE_SONIFICATION, which follows the ring/notification volume. iOS plays them with AVAudioPlayer on an .ambient session (SoundEffectsPlayback.swift:223-238), which follows media volume. With ring low the cues were effectively inaudible (-43.5 dBFS at ring 1/7, media max); they now use USAGE_MEDIA (-22.0 dBFS in the same setup), are silent at media 0, and still skip playback in vibrate/silent as before.

Also checked (no change): the single in-progress notification when several sessions run matches iOS, which replaces the prior run's activity (HomeFeature+SessionActivity.swift:73).

Verified on an emulator (release before, debug after, measured output levels); scripts/check.sh :core passes.

Replace system sonification usage, which Android links to ring volume, with media usage for the bundled foreground cues. Preserve sonification content, no audio focus, and the explicit silent/vibrate gate to match AVAudioPlayer on the iOS ambient session.

Verified on FX_2: the v0.3.0 volume preview still played with media muted. The fixed track is STREAM_MUSIC, is muted at media 0, and plays at media 15 with ring 1. Vibrate still skips playback. vm.sh check :core passed.
@R44VC0RP
R44VC0RP merged commit 02f6870 into main Nov 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant