Ardour  9.0-pre0-350-gf17a656217
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
 
int need_tempo_map_compute
 
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

◆ expected_number_of_tracks

int smf_struct::expected_number_of_tracks

Definition at line 249 of file smf.h.

◆ file_buffer

void* smf_struct::file_buffer

Definition at line 246 of file smf.h.

◆ file_buffer_length

size_t smf_struct::file_buffer_length

Definition at line 247 of file smf.h.

◆ format

int smf_struct::format

Definition at line 235 of file smf.h.

◆ frames_per_second

int smf_struct::frames_per_second

Definition at line 240 of file smf.h.

◆ last_seek_position

double smf_struct::last_seek_position

Definition at line 253 of file smf.h.

◆ need_tempo_map_compute

int smf_struct::need_tempo_map_compute

Definition at line 254 of file smf.h.

◆ next_chunk_offset

size_t smf_struct::next_chunk_offset

Definition at line 248 of file smf.h.

◆ number_of_tracks

int smf_struct::number_of_tracks

Definition at line 242 of file smf.h.

◆ ppqn

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.

◆ resolution

int smf_struct::resolution

Definition at line 241 of file smf.h.

◆ stream

FILE* smf_struct::stream

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

Definition at line 245 of file smf.h.

◆ tempo_array

GPtrArray* smf_struct::tempo_array

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

Definition at line 258 of file smf.h.

◆ tracks_array

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: