org.tritonus.share.midi
Class TMidiFileFormat

java.lang.Object
  extended by javax.sound.midi.MidiFileFormat
      extended by org.tritonus.share.midi.TMidiFileFormat

public class TMidiFileFormat
extends MidiFileFormat

A MidiFileFormat that has information about the number of tracks. This class is used by org.tritonus.midi.file.StandardMidiFileReader. Its purpose is to carry the number of tracks from getMidiFileFormat() to getSequence().


Field Summary
 
Fields inherited from class javax.sound.midi.MidiFileFormat
UNKNOWN_LENGTH
 
Constructor Summary
TMidiFileFormat(int nType, float fDivisionType, int nResolution, int nByteLength, long lMicrosecondLength, int nTrackCount)
           
 
Method Summary
 int getTrackCount()
           
 
Methods inherited from class javax.sound.midi.MidiFileFormat
getByteLength, getDivisionType, getMicrosecondLength, getProperty, getResolution, getType, properties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TMidiFileFormat

public TMidiFileFormat(int nType,
                       float fDivisionType,
                       int nResolution,
                       int nByteLength,
                       long lMicrosecondLength,
                       int nTrackCount)
Method Detail

getTrackCount

public int getTrackCount()