Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpleAudioPlayer.Load() resets volume on iOS (but not Android) #107

Open
BlueRaja opened this issue Jul 4, 2022 · 0 comments
Open

SimpleAudioPlayer.Load() resets volume on iOS (but not Android) #107

BlueRaja opened this issue Jul 4, 2022 · 0 comments

Comments

@BlueRaja
Copy link

BlueRaja commented Jul 4, 2022

The behavior should be consistent across platforms.

Repro steps:

  1. Set player.Volume
  2. Call player.Load(...)

Actual Results

On iOS, the volume set in step (1) is ignored and the audio is played at full volume. On Android, the Volume is respected.

Expected Results

I think "Don't reset the volume" makes the most sense.

"Does reset volume" would be acceptable, as long as it was consistent across both platforms and heavily documented. Between the two changes, however, I think this is both more confusing and more likely to break existing usages.


I'm running Xam.Plugin.SimpleAudioPlayer 1.5.0, so it's possible this has been fixed, but unlikely.

@BlueRaja BlueRaja changed the title SimpleAudioPlayer.Load resets volume on iOS (but not Android) SimpleAudioPlayer.Load() resets volume on iOS (but not Android) Jul 4, 2022
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

No branches or pull requests

1 participant