[Audio Output] Restart correct track
When restarting playback on the current track, restart the correct track, in case restarting near the end of it. Signed-off-by: Christopher Snowhill <kode54@gmail.com>lastfm
parent
8fc981cb92
commit
2d7c3b51c7
|
@ -226,7 +226,7 @@
|
|||
}
|
||||
|
||||
- (void)restartPlaybackAtCurrentPosition {
|
||||
[self sendDelegateMethod:@selector(audioPlayer:restartPlaybackAtCurrentPosition:) withObject:[bufferChain userInfo] waitUntilDone:NO];
|
||||
[self sendDelegateMethod:@selector(audioPlayer:restartPlaybackAtCurrentPosition:) withObject:previousUserInfo waitUntilDone:NO];
|
||||
}
|
||||
|
||||
- (void)pushInfo:(NSDictionary *)info toTrack:(id)userInfo {
|
||||
|
|
Loading…
Reference in New Issue