ardour
Public Attributes | List of all members
smf_struct Struct Reference

#include <smf.h>

Public Attributes

int format
 
uint16_t ppqn
 
int frames_per_second
 
int resolution
 
int number_of_tracks
 
FILE * stream
 
void * file_buffer
 
size_t file_buffer_length
 
size_t next_chunk_offset
 
int expected_number_of_tracks
 
GPtrArray * tracks_array
 
double last_seek_position
 
GPtrArray * tempo_array
 

Detailed Description

Represents a "song", that is, collection of one or more tracks.

Definition at line 234 of file smf.h.

Member Data Documentation

int smf_struct::expected_number_of_tracks

Definition at line 249 of file smf.h.

void* smf_struct::file_buffer

Definition at line 246 of file smf.h.

size_t smf_struct::file_buffer_length

Definition at line 247 of file smf.h.

int smf_struct::format

Definition at line 235 of file smf.h.

int smf_struct::frames_per_second

Definition at line 240 of file smf.h.

double smf_struct::last_seek_position

Definition at line 253 of file smf.h.

size_t smf_struct::next_chunk_offset

Definition at line 248 of file smf.h.

int smf_struct::number_of_tracks

Definition at line 242 of file smf.h.

uint16_t smf_struct::ppqn

These fields are extracted from "division" field of MThd header. Valid is either ppqn or frames_per_second/resolution.

Definition at line 239 of file smf.h.

int smf_struct::resolution

Definition at line 241 of file smf.h.

FILE* smf_struct::stream

These are private fields using only by loading and saving routines.

Definition at line 245 of file smf.h.

GPtrArray* smf_struct::tempo_array

Private, used by smf_tempo.c. Array of pointers to smf_tempo_struct.

Definition at line 257 of file smf.h.

GPtrArray* smf_struct::tracks_array

Private, used by smf.c.

Definition at line 252 of file smf.h.


The documentation for this struct was generated from the following file: