MusicSequenceGetTrackCount

Function MusicSequenceGetTrackCount 

Source
pub unsafe extern "C-unwind" fn MusicSequenceGetTrackCount(
    in_sequence: MusicSequence,
    out_number_of_tracks: NonNull<u32>,
) -> i32
Available on crate feature MusicPlayer only.
Expand description

The number of tracks in a sequence. The track count and accessors exclude the tempo track (which is treated as a special case)

Parameter inSequence: the sequence

Parameter outNumberOfTracks: the number of tracks

ยงSafety

  • in_sequence must be a valid pointer.
  • out_number_of_tracks must be a valid pointer.