retro
retro copied to clipboard
Clickwheel audio feedback volume lowers if there's music playing
Known Flutter bug that appears to have gone unfixed.
When a user pans on the clickwheel, they should get both haptic and audio feedback. Audio feedback glitches if there's music playing. Also doesn't work if the device is on silent.
Was using this to handle clickwheel audio feedback as seen for example: https://github.com/retromp3/retro/blob/1f629667d1071d7e830d848bb772a5dc8d4d71c6/lib/ipod_menu_widget/ipod_menu_page_widget.dart#L174
Could maybe try a plugin like this?
Other apps and games manage to do this. Also, appearently not a flutter bug but the default behavior in iOS you cannot easily change in flutter. By writing a module for iOS by ourselves this is definitely solvable.
It looks like we have to tell iOS to use this: https://developer.apple.com/documentation/avfaudio/avaudiosession/category/1616560-ambient