smf.c File Reference

Include dependency graph for smf.c:


Data Structures

struct  smf_track_t
struct  demux_sys_t

Defines

#define TEMPO_MIN   20
#define TEMPO_MAX   250

Typedefs

typedef smf_track_t mtrk_t

Functions

static int Open (vlc_object_t *)
static void Close (vlc_object_t *p_this)
 Releases allocate resources.
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static int Demux (demux_t *)
static int Control (demux_t *, int i_query, va_list args)
static int ReadDeltaTime (stream_t *s, mtrk_t *track)
 Reads (delta) time from the next event of a given track.
static int32_t ReadVarInt (stream_t *s)
 Reads MIDI variable length (7, 14, 21 or 28 bits) integer.
static int HandleMeta (demux_t *p_demux, mtrk_t *tr)
 Non-MIDI Meta events handler.
static int HandleMessage (demux_t *p_demux, mtrk_t *tr)

Define Documentation

#define TEMPO_MAX   250

#define TEMPO_MIN   20


Typedef Documentation

typedef struct smf_track_t mtrk_t


Function Documentation

static void Close ( vlc_object_t  )  [static]

Releases allocate resources.

static int Control ( demux_t ,
int  i_query,
va_list  args 
) [static]

static int Demux ( demux_t  )  [static]

static int HandleMessage ( demux_t p_demux,
mtrk_t tr 
) [static]

static int HandleMeta ( demux_t p_demux,
mtrk_t tr 
) [static]

Non-MIDI Meta events handler.

static int Open ( vlc_object_t  )  [static]

static int ReadDeltaTime ( stream_t s,
mtrk_t track 
) [static]

Reads (delta) time from the next event of a given track.

Parameters:
s stream to read data from (must be positioned at the right offset)

static int32_t ReadVarInt ( stream_t s  )  [static]

Reads MIDI variable length (7, 14, 21 or 28 bits) integer.

Returns:
read value, or -1 on EOF/error.

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Generated on Wed Aug 13 08:03:31 2008 for VLC by  doxygen 1.5.1