Skip to content

Fix: in-app sound effects are way too loud - #2526

Open
feather2222 wants to merge 1 commit into
Dimillian:mainfrom
feather2222:fix/sound-effects-volume
Open

feather2222 wants to merge 1 commit into
Dimillian:mainfrom
feather2222:fix/sound-effects-volume

Conversation

@feather2222

Copy link
Copy Markdown

Fixes #2474

AudioServicesPlaySystemSound plays sounds at the ringer/alert volume rather than the media volume, so effects like pull-to-refresh and post-sent sound far louder than anything else on the phone.

This PR switches SoundEffectManager to preloaded AVAudioPlayer instances so effects follow the media volume, with a fixed 0.7 volume to keep them subtle. Rapid re-triggers rewind the player, matching previous behavior. The public API is unchanged.

AudioServicesPlaySystemSound plays at the ringer/alert volume, which
makes in-app sound effects much louder than other apps' sounds.

Play effects through preloaded AVAudioPlayer instances instead so they
follow the media volume, with a modest 0.7 volume to keep them subtle.

Fixes Dimillian#2474
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.

Bug: sound volume is way too loud

1 participant