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

Account for playback speed in current position #184

Merged
merged 1 commit into from
Feb 24, 2020
Merged

Account for playback speed in current position #184

merged 1 commit into from
Feb 24, 2020

Conversation

keaganhilliard
Copy link
Contributor

Noticed that the currentPosition getter doesn't account for playback at different speeds. This change should address that. Basically just multiplies the elapsed time by the playback speed and then calls toInt().

@ryanheise ryanheise merged commit b673b58 into ryanheise:master Feb 24, 2020
@ryanheise
Copy link
Owner

Thanks, I'd been meaning to get around to this!

iamgoddog added a commit to iamgoddog/audio_service that referenced this pull request Apr 13, 2020
* master:
  Version 0.6.2
  Fix onAddQueueItemAt invokeMethod in AudioServicePlugin.java (ryanheise#192)
  Fix bug with FlutterIsolate (ryanheise#188)
  Account for playback speed in current position (ryanheise#184)
  Fix background seek on iOS. (ryanheise#172)
  Version 6.0.1
  Handle focus request failure more gracefully

# Conflicts:
#	android/src/main/java/com/ryanheise/audioservice/AudioServicePlugin.java
#	ios/Classes/AudioServicePlugin.m
#	lib/audio_service.dart
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants