Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVAudioTimeMBS class.
AVAudioTimeMBS.available as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundationNode | MBS AVFoundation Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Should return true on OS X 10.10 and newer.
AVAudioTimeMBS.hostTimeForSeconds(Seconds as Double) as UInt64
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundationNode | MBS AVFoundation Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
seconds: The number of seconds.
Returns the seconds represented as host time.
AVAudioTimeMBS.secondsForHostTime(HostTime as UInt64) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundationNode | MBS AVFoundation Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
hostTime: The host time.
Returns the host time represented as seconds.
AVAudioTimeMBS.timeWithHostTime(HostTime as UInt64) as AVAudioTimeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundationNode | MBS AVFoundation Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
hostTime: The host time.
Returns a newly created and initialized AVAudioTime instance with the extrapolated time.
See also:
AVAudioTimeMBS.timeWithHostTime(hostTime as UInt64, SampleTime as Int64, sampleRate as Double) as AVAudioTimeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundationNode | MBS AVFoundation Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
hostTime: The host time.
sampleTime: The sample time.
sampleRate: The sample rate.
Returns a newly created and initialized AVAudioTime instance with the specified host time, sample time, and sample rate.
See also:
AVAudioTimeMBS.timeWithSampleTime(SampleTime as Int64, sampleRate as Double) as AVAudioTimeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundationNode | MBS AVFoundation Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
sampleTime: The sample time.
sampleRate: The sample rate.
Returns a newly created and initialized AVAudioTime instance with the specified sample time and sample rate.
The items on this page are in the following plugins: MBS AVFoundation Plugin.