[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>swiftingly
parent
bedfac4e33
commit
b33e3ff6b3
|
@ -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