Contents

MusicEventIteratorHasPreviousEvent(_:_:)

Indicates whether or not a music track contains an event before the music event iterator’s current position.

Declaration

func MusicEventIteratorHasPreviousEvent(_ inIterator: MusicEventIterator, _ outHasPrevEvent: UnsafeMutablePointer<DarwinBoolean>) -> OSStatus

Parameters

  • inIterator:

    The music event iterator whose state you want to know about.

  • outHasPrevEvent:

    On output, true (nonzero) if there is an event closer to the start of the music track than the music event iterator’s current position; false (zero) otherwise.

Return Value

A result code.

See Also

Iterating Over Music Events