NumBytesToNumAudioFileMarkers(_:)
A macro that returns the number of audio file markers represented by a specified number of bytes.
Declaration
func NumBytesToNumAudioFileMarkers(_ inNumBytes: Int) -> IntParameters
- inNumBytes:
The number of bytes for which you wish to know the equivalent number of audio file markers.
Return Value
The number of audio file markers that can be contained in the specified number of bytes.
Discussion
Use this convenience macro when you call the AudioFileGetProperty(_:_:_:_:) function with the kAudioFilePropertyMarkerList property to calculate the number of markers that will be returned.