AVAudioPlayerNodeCompletionCallbackType.dataPlayedBack
A completion handler that indicates the player finishes the buffer or file data.
Declaration
case dataPlayedBackDiscussion
The completion handler is applicable when the engine is rendering to or from an audio device.
It accounts for both signal processing latencies downstream of the player in the engine, and (possibly significant) latency in the audio playback device.