Ardour  9.0-pre0-582-g084a23a80d
smf_private.h File Reference
#include <stdint.h>
#include <sys/types.h>
#include "smf.h"
Include dependency graph for smf_private.h:

Go to the source code of this file.

Classes

struct  chunk_header_struct
 
struct  mthd_chunk_struct
 

Macros

#define ATTRIBUTE_PACKED
 

Functions

void smf_track_add_event (smf_track_t *track, smf_event_t *event)
 
void smf_init_tempo (smf_t *smf)
 
void smf_fini_tempo (smf_t *smf)
 
void smf_create_tempo_map_and_compute_seconds (smf_t *smf)
 
void maybe_add_to_tempo_map (smf_event_t *event)
 
void remove_last_tempo_with_pulses (smf_t *smf, size_t pulses)
 
int smf_event_is_tempo_change_or_time_signature (const smf_event_t *event)
 
int smf_event_length_is_valid (const smf_event_t *event)
 
int is_status_byte (const unsigned char status)
 
smf_track_tsmf_find_track_with_next_event (smf_t *smf)
 

Detailed Description

Private header. Applications using libsmf should use smf.h.

Definition in file smf_private.h.

Macro Definition Documentation

◆ ATTRIBUTE_PACKED

#define ATTRIBUTE_PACKED

Definition at line 49 of file smf_private.h.

Function Documentation

◆ is_status_byte()

int is_status_byte ( const unsigned char  status)

◆ maybe_add_to_tempo_map()

void maybe_add_to_tempo_map ( smf_event_t event)

◆ remove_last_tempo_with_pulses()

void remove_last_tempo_with_pulses ( smf_t smf,
size_t  pulses 
)

◆ smf_create_tempo_map_and_compute_seconds()

void smf_create_tempo_map_and_compute_seconds ( smf_t smf)

◆ smf_event_is_tempo_change_or_time_signature()

int smf_event_is_tempo_change_or_time_signature ( const smf_event_t event)

◆ smf_event_length_is_valid()

int smf_event_length_is_valid ( const smf_event_t event)

◆ smf_find_track_with_next_event()

smf_track_t* smf_find_track_with_next_event ( smf_t smf)

◆ smf_fini_tempo()

void smf_fini_tempo ( smf_t smf)

◆ smf_init_tempo()

void smf_init_tempo ( smf_t smf)

◆ smf_track_add_event()

void smf_track_add_event ( smf_track_t track,
smf_event_t event 
)