Skip to content

Commit

Permalink
AudioController: sync audio clock when play command received
Browse files Browse the repository at this point in the history
  • Loading branch information
xinzhengzhang committed Feb 16, 2017
1 parent eb265a5 commit e069133
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ - (void)play
if (!_audioQueueRef)
return;

self.spec.callback(self.spec.userdata, NULL, 0);

@synchronized(_lock) {
_isPaused = NO;
NSError *error = nil;
Expand Down

0 comments on commit e069133

Please sign in to comment.