- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# Exponent::Midi::CMidiFile::SMTHDChunk Struct Reference

List of all members.

## Detailed Description

Chunk header for midi files.

Definition at line 186 of file CMidiFile.hpp.

## Public Attributes

- unsigned short m_fileType
- char m_mthdChunk [4]
- unsigned long m_mthdSize
- unsigned short m_numberOfTracks
- double m_samplesPerTick
- unsigned short m_timeFormat

## Member Data Documentation

unsigned short Exponent::Midi::CMidiFile::SMTHDChunk::m_fileType

What format of midi file

Definition at line 191 of file CMidiFile.hpp.

char Exponent::Midi::CMidiFile::SMTHDChunk::m_mthdChunk[4]

'MThd'

Definition at line 188 of file CMidiFile.hpp.

unsigned long Exponent::Midi::CMidiFile::SMTHDChunk::m_mthdSize

Size of the mthd chunk

Definition at line 189 of file CMidiFile.hpp.

unsigned short Exponent::Midi::CMidiFile::SMTHDChunk::m_numberOfTracks

Total number of tracks

Definition at line 192 of file CMidiFile.hpp.

double Exponent::Midi::CMidiFile::SMTHDChunk::m_samplesPerTick

Total samples per tick

Definition at line 195 of file CMidiFile.hpp.

unsigned short Exponent::Midi::CMidiFile::SMTHDChunk::m_timeFormat

SMPTE or Tempo based ( < 0 == SMPTE)

Definition at line 193 of file CMidiFile.hpp.