Github user dellagustin commented on a diff in the pull request: https://github.com/apache/cordova-plugin-media/pull/130#discussion_r120745011 --- Diff: src/android/AudioPlayer.java --- @@ -532,6 +532,27 @@ public void setVolume(float volume) { } } + /** + * Set the rate for audio player + * + * @param rate + */ + + public void setRate(float rate) { + if (this.player != null) { + + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { --- End diff -- I'm not sure if there is a guideline here, or what is the standard behavior in this cases, but should whe not send an error stats or something when the version does not meet the minimum requirement?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org