ppy / osu

rhythm is just a *click* away!
https://osu.ppy.sh
MIT License
15.04k stars 2.22k forks source link

Terminate music upon entering lazer on mobile. #5942

Open 59xa opened 5 years ago

59xa commented 5 years ago

Any music playing before opening lazer needs to be force stopped when entering the app.

Platform Specification: iPhone 7 iOS 13.1 Public Beta

frenzibyte commented 5 years ago

I don't think that's something we can handle, and afaik entering an app automatically pauses any playing music?

elleyer commented 5 years ago

I'm not sure, but probably it's a thing that could help us to fix this issue: https://www.c-sharpcorner.com/blogs/audio-focus-request-xamarin-android-audio-player

peppy commented 5 years ago

Please provide details such as operating system and device.

59xa commented 5 years ago

This could be applied to any device, I don’t know about android though. Just like in osu!stream, music played from a music app like Spotify or iTunes gets paused upon entering the app.

peppy commented 5 years ago

I know for a fact this already works on iOS. This report is missing platform details. It may be android only and it may be version specific. They may be talking about a Windows 10 device.

59xa commented 5 years ago

Platform specification: iPhone 7 iOS 13.1 Public Beta

UselessToucan commented 5 years ago

Note that LLSIF (Android) does not do this. https://www.youtube.com/watch?v=VhmTbsyy1ew