change all use of g_critical() in libsmf() to g_warning()
[ardour.git] / libs / evoral / src / libsmf / smf_private.h
index 0cd273e73aa456106cc519500960e5ce2787a615..3f7bb2940d9a5b5261f5c275592fbfdd76929d87 100644 (file)
@@ -51,7 +51,7 @@
 /** SMF chunk header, used only by smf_load.c and smf_save.c. */
 struct chunk_header_struct {
        char            id[4];
-       uint32_t        length; 
+       uint32_t        length;
 } ATTRIBUTE_PACKED;
 
 /** SMF chunk, used only by smf_load.c and smf_save.c. */
@@ -71,10 +71,11 @@ 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, int pulses);
+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) WARN_UNUSED_RESULT;
 int smf_event_length_is_valid(const smf_event_t *event) WARN_UNUSED_RESULT;
 int is_status_byte(const unsigned char status) WARN_UNUSED_RESULT;
+smf_track_t* smf_find_track_with_next_event (smf_t *smf);
 
 #endif /* SMF_PRIVATE_H */