Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
seq_midi_event.c File Reference
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/seq_kernel.h>
#include <sound/seq_midi_event.h>
#include <sound/asoundef.h>

Go to the source code of this file.

Data Structures

struct  status_event_list
 
struct  extra_event_list
 

Macros

#define ST_INVALID   7
 
#define ST_SPECIAL   8
 
#define ST_SYSEX   ST_SPECIAL
 

Functions

 MODULE_AUTHOR ("Takashi Iwai <[email protected]>, Jaroslav Kysela <[email protected]>")
 
 MODULE_DESCRIPTION ("MIDI byte <-> sequencer event coder")
 
 MODULE_LICENSE ("GPL")
 
int snd_midi_event_new (int bufsize, struct snd_midi_event **rdev)
 
void snd_midi_event_free (struct snd_midi_event *dev)
 
void snd_midi_event_reset_encode (struct snd_midi_event *dev)
 
void snd_midi_event_reset_decode (struct snd_midi_event *dev)
 
void snd_midi_event_no_status (struct snd_midi_event *dev, int on)
 
long snd_midi_event_encode (struct snd_midi_event *dev, unsigned char *buf, long count, struct snd_seq_event *ev)
 
int snd_midi_event_encode_byte (struct snd_midi_event *dev, int c, struct snd_seq_event *ev)
 
long snd_midi_event_decode (struct snd_midi_event *dev, unsigned char *buf, long count, struct snd_seq_event *ev)
 
 EXPORT_SYMBOL (snd_midi_event_new)
 
 EXPORT_SYMBOL (snd_midi_event_free)
 
 EXPORT_SYMBOL (snd_midi_event_reset_encode)
 
 EXPORT_SYMBOL (snd_midi_event_reset_decode)
 
 EXPORT_SYMBOL (snd_midi_event_no_status)
 
 EXPORT_SYMBOL (snd_midi_event_encode)
 
 EXPORT_SYMBOL (snd_midi_event_encode_byte)
 
 EXPORT_SYMBOL (snd_midi_event_decode)
 

Macro Definition Documentation

#define ST_INVALID   7

Definition at line 37 of file seq_midi_event.c.

#define ST_SPECIAL   8

Definition at line 38 of file seq_midi_event.c.

#define ST_SYSEX   ST_SPECIAL

Definition at line 39 of file seq_midi_event.c.

Function Documentation

EXPORT_SYMBOL ( snd_midi_event_new  )
EXPORT_SYMBOL ( snd_midi_event_free  )
EXPORT_SYMBOL ( snd_midi_event_reset_encode  )
EXPORT_SYMBOL ( snd_midi_event_reset_decode  )
EXPORT_SYMBOL ( snd_midi_event_no_status  )
EXPORT_SYMBOL ( snd_midi_event_encode  )
EXPORT_SYMBOL ( snd_midi_event_encode_byte  )
EXPORT_SYMBOL ( snd_midi_event_decode  )
MODULE_AUTHOR ( "Takashi Iwai <[email protected] ,
Jaroslav Kysela< perex @perex.cz >"   
)
MODULE_DESCRIPTION ( "MIDI byte <-> sequencer event coder"  )
MODULE_LICENSE ( "GPL"  )
long snd_midi_event_decode ( struct snd_midi_event dev,
unsigned char buf,
long  count,
struct snd_seq_event ev 
)

Definition at line 357 of file seq_midi_event.c.

long snd_midi_event_encode ( struct snd_midi_event dev,
unsigned char buf,
long  count,
struct snd_seq_event ev 
)

Definition at line 216 of file seq_midi_event.c.

int snd_midi_event_encode_byte ( struct snd_midi_event dev,
int  c,
struct snd_seq_event ev 
)

Definition at line 242 of file seq_midi_event.c.

void snd_midi_event_free ( struct snd_midi_event dev)

Definition at line 138 of file seq_midi_event.c.

int snd_midi_event_new ( int  bufsize,
struct snd_midi_event **  rdev 
)

Definition at line 115 of file seq_midi_event.c.

void snd_midi_event_no_status ( struct snd_midi_event dev,
int  on 
)

Definition at line 182 of file seq_midi_event.c.

void snd_midi_event_reset_decode ( struct snd_midi_event dev)

Definition at line 165 of file seq_midi_event.c.

void snd_midi_event_reset_encode ( struct snd_midi_event dev)

Definition at line 156 of file seq_midi_event.c.