Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVAudioPlayerNodeMBS class.

AVAudioPlayerNodeMBS.scheduleBufferCompleted(callbackType as Integer, buffer as AVAudioPCMBufferMBS, time as AVAudioTimeMBS, options as Integer, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No
Called after the buffer has completely played or the player is stopped.

callbackType: The requested callback type or -1 for older APIs.

AVAudioPlayerNodeMBS.scheduleFileCompleted(callbackType as Integer, file as AVAudioFileMBS, time as AVAudioTimeMBS, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No
Called after the file has completely played or the player is stopped.

callbackType: The requested callback type or -1 for older APIs.

Some examples using this event:

AVAudioPlayerNodeMBS.scheduleSegmentCompleted(callbackType as Integer, file as AVAudioFileMBS, startFrame as Int64, frameCount as Int64, time as AVAudioTimeMBS, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No
Called after the segment has completely played or the player is stopped.

callbackType: The requested callback type or -1 for older APIs.

The items on this page are in the following plugins: MBS AVFoundation Plugin.


The biggest plugin in space...