3

The AVAudioPlayerNode stop() function " Clear all of the node's previously scheduled events and stop playback. "

Need to clear all the node's previously scheduled without stopping the player. Any idea ?

Fischer
  • 1,513
  • 4
  • 17
  • 38
  • I would try to calculate where the player is currently, then `.stop()`, and then schedule the current buffer again at the current frame of the sound using `scheduleSegment(_:startingFrame:frameCount:at:completionHandler:)`. Not sure how seamless this would be though – Lucas Barbosa Jan 16 '20 at 14:19
  • did you find a solution> – bellotas Mar 11 '21 at 14:02

0 Answers0