NumAudioFileMarkersToNumBytes(_:)
Returns the number of bytes corresponding to a specified number of audio file markers.
Declaration
func NumAudioFileMarkersToNumBytes(_ inNumMarkers: Int) -> IntParameters
- inNumMarkers:
The number of audio file markers for which you wish to know the equivalent number of bytes.
Return Value
The number of bytes required to contain the specified number of audio file markers.
Discussion
Use this convenience function when you call the AudioFileSetProperty(_:_:_:_:) function with the kAudioFilePropertyMarkerList property to calculate the size of buffer needed to hold a specific number of audio file markers.