Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

AVAudioFileMBS.available as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method AVFoundationNode MBS AVFoundation Plugin 15.3 Yes No No Yes, macOS only No
Function: Whether this class is available for use.
Notes: Should return true on OS X 10.10 and newer.

Feedback, Comments & Corrections

AVAudioFileMBS.fileDuration(file as folderItem) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method AVFoundationNode MBS AVFoundation Plugin 15.4 Yes No No Yes, macOS only No
Function: Queries duration of an audio file.
Notes:
This uses different AVAudioFile API than rest of AVAudioFileMBS class.
We discovered a bug in Apples frameworks to report wrong length for some MP3 files and this function seems to be closer to the real duration of the file.

Feedback, Comments & Corrections

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




Links
MBS Xojo Chart Plugins