smf_track_struct Struct Reference

Represents a single track. More...

#include <smf.h>

Data Fields

smf_tsmf
int track_number
int number_of_events
void * file_buffer
 These are private fields using only by loading and saving routines.
int file_buffer_length
int last_status
int next_event_offset
 Private, used by smf.c.
int next_event_number
int time_of_next_event
 Absolute time of next event on events_queue.
GPtrArray * events_array
void * user_pointer
 API consumer is free to use this for whatever purpose.

Detailed Description

Represents a single track.

Definition at line 271 of file smf.h.


Field Documentation

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

Definition at line 278 of file smf.h.

Referenced by smf_load_from_memory().

Definition at line 279 of file smf.h.

Referenced by smf_load_from_memory().

Definition at line 280 of file smf.h.

Private, used by smf.c.

Offset into buffer, used in parse_next_event().

Definition at line 284 of file smf.h.

Referenced by smf_load_from_memory().

Absolute time of next event on events_queue.

Definition at line 288 of file smf.h.

Referenced by smf_find_track_with_next_event(), smf_rewind(), and smf_track_get_next_event().

API consumer is free to use this for whatever purpose.

NULL in freshly allocated track. Note that tracks might be deallocated not only explicitly, by calling smf_track_delete(), but also implicitly, e.g. when calling smf_delete() with tracks still added to the smf; there is no mechanism for libsmf to notify you about removal of the track.

Definition at line 295 of file smf.h.


The documentation for this struct was generated from the following file:
Generated on Sun Mar 28 19:42:17 2010 for libsmf by  doxygen 1.6.3