retro icon indicating copy to clipboard operation
retro copied to clipboard

Clickwheel audio feedback volume lowers if there's music playing

Open sakofchit opened this issue 2 years ago • 2 comments

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?

sakofchit avatar May 23 '22 15:05 sakofchit

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.

fritzlb avatar Mar 08 '23 08:03 fritzlb

It looks like we have to tell iOS to use this: https://developer.apple.com/documentation/avfaudio/avaudiosession/category/1616560-ambient

fritzlb avatar Mar 08 '23 08:03 fritzlb