Skip to content

MidiFile.GetTrackChunks() VS Chunks.OfType<TrackChunk>() #185

Answered by melanchall
Jenix-Park asked this question in Q&A
Discussion options

You must be logged in to vote

Those two things are absolutely the same, there is no any difference in performance. MidiFile.GetTrackChunks() is just a shortcut for MidiFile.Chunks.OfType<TrackChunk>().

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Jenix-Park
Comment options

@melanchall
Comment options

@Jenix-Park
Comment options

Answer selected by Jenix-Park
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Just question about the library
2 participants