AVAudioTimeMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All , Dependencies ) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics ,
classes ,
interfaces ,
controls ,
modules ,
global methods by category ,
global methods by name ,
screenshots ,
licenses
and examples .
Platforms to show: All Mac Windows Linux Cross-Platform
AVAudioTimeMBS class
The AVAudioTime class is used by AVAudioEngine to represent time.
Example
Dim t As AVAudioTimeMBS = AVAudioTimeMBS.timeWithSampleTime(60000 , 1000 ) // 60s
Instances of the class are immutable.
A single moment in time may be represented in two different ways:
Using mach_absolute_time(), the system's basic clock. Referred to as “host time.”
Audio samples at a particular sample rate.
A single AVAudioTime instance may contain either or both representations; it might represent only a sample time, only a host time, or both.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
6 properties
2 methods
6 shared methods
This class has no sub classes.
Some methods using this class:
AVAudioPlayerNodeMBS.nodeTimeForPlayerTime (playerTime as AVAudioTimeMBS) as AVAudioTimeMBS
AVAudioPlayerNodeMBS.playAtTime (time as AVAudioTimeMBS = nil)
AVAudioPlayerNodeMBS.playerTimeForNodeTime (nodeTime as AVAudioTimeMBS) as AVAudioTimeMBS
AVAudioPlayerNodeMBS.scheduleBuffer (buffer as AVAudioPCMBufferMBS , time as AVAudioTimeMBS, options as Integer, tag as Variant = nil)
AVAudioPlayerNodeMBS.scheduleBuffer (callbackType as Integer, buffer as AVAudioPCMBufferMBS , time as AVAudioTimeMBS, options as Integer, tag as Variant = nil)
AVAudioPlayerNodeMBS.scheduleFile (callbackType as Integer, file as AVAudioFileMBS , time as AVAudioTimeMBS, tag as Variant = nil)
AVAudioPlayerNodeMBS.scheduleFile (file as AVAudioFileMBS , time as AVAudioTimeMBS, tag as Variant = nil)
AVAudioPlayerNodeMBS.scheduleSegment (callbackType as Integer, file as AVAudioFileMBS , time as AVAudioTimeMBS, startFrame as Int64, frameCount as Int64, tag as Variant = nil)
AVAudioPlayerNodeMBS.scheduleSegment (file as AVAudioFileMBS , time as AVAudioTimeMBS, startFrame as Int64, frameCount as Int64, tag as Variant = nil)
Some properties using for this class:
Some events using this class:
AVAudioNodeMBS.Tap (bus as Integer, bufferSize as UInt32, format as AVAudioFormatMBS , buffer as AVAudioPCMBufferMBS , time as AVAudioTimeMBS, tag as Variant)
AVAudioPlayerNodeMBS.scheduleBufferCompleted (callbackType as Integer, buffer as AVAudioPCMBufferMBS , time as AVAudioTimeMBS, options as Integer, tag as Variant)
AVAudioPlayerNodeMBS.scheduleFileCompleted (callbackType as Integer, file as AVAudioFileMBS , time as AVAudioTimeMBS, tag as Variant)
AVAudioPlayerNodeMBS.scheduleSegmentCompleted (callbackType as Integer, file as AVAudioFileMBS , startFrame as Int64, frameCount as Int64, time as AVAudioTimeMBS, tag as Variant)
Some examples using this class:
The items on this page are in the following plugins: MBS AVFoundation Plugin .
AVAudioRecorderMBS
-
AVAudioUnitComponentManagerMBS