Skip to content

fix(android): playing at playback rate 1.0 in android API level < 23 (fixes #1344)#1390

Merged
Gustl22 merged 3 commits into
bluefireteam:mainfrom
aideric:main
Jan 18, 2023
Merged

fix(android): playing at playback rate 1.0 in android API level < 23 (fixes #1344)#1390
Gustl22 merged 3 commits into
bluefireteam:mainfrom
aideric:main

Conversation

@aideric

@aideric aideric commented Jan 17, 2023

Copy link
Copy Markdown
Contributor

Description

This pull request fix issue #1344.
Use approach in PR #1389.
Add sdk version checking on MediaPlayerPlayer setRate.
Don't throw exception when rate equals to 1.0

Checklist

  • The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs:, chore: etc).
  • I have read the Contributor Guide and followed the process outlined for submitting PRs.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation and added dartdoc comments with ///, where necessary.
  • I have updated/added relevant examples in example.

Breaking Change

  • Yes, this is a breaking change.
  • No, this is not a breaking change.

Related Issues

Fixes #1344

@aideric aideric marked this pull request as ready for review January 18, 2023 02:44
@Gustl22 Gustl22 changed the title fix: issue #1344 (Unable to play sound in android api < 23) fix(android): playing at playback rate 1.0 in android API level < 23 (fixes #1344) Jan 18, 2023

@Gustl22 Gustl22 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thank you!

@Gustl22 Gustl22 merged commit b248e71 into bluefireteam:main Jan 18, 2023
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.

Unable to play sound in android api < 23

2 participants