/[openvortex]/alsa/alsa-kernel/include/seq_midi_event.h
ViewVC logotype

Diff of /alsa/alsa-kernel/include/seq_midi_event.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by vizard, Tue Apr 15 21:34:52 2003 UTC revision 1.2 by vizard, Mon Aug 11 00:06:39 2003 UTC
# Line 30  typedef struct snd_midi_event_t snd_midi Line 30  typedef struct snd_midi_event_t snd_midi
30    
31  /* midi status */  /* midi status */
32  struct snd_midi_event_t {  struct snd_midi_event_t {
33          int qlen;       /* queue length */          int qlen;               /* queue length */
34          int read;       /* chars read */          int read;               /* chars read */
35          int type;       /* current event type */          int type;               /* current event type */
36          unsigned char lastcmd;          unsigned char lastcmd;  /* last command (for MIDI state handling) */
37          unsigned char nostat;          unsigned char nostat;   /* no state flag */
38          int bufsize;          int bufsize;            /* allocated buffer size */
39          unsigned char *buf; /* input buffer */          unsigned char *buf;     /* input buffer */
40          spinlock_t lock;          spinlock_t lock;
41  };  };
42    
 #define SND_MIDI_EVENT_NOSTATUS         (1<<0)  /* don't encode MIDI status */  
   
43  int snd_midi_event_new(int bufsize, snd_midi_event_t **rdev);  int snd_midi_event_new(int bufsize, snd_midi_event_t **rdev);
44  int snd_midi_event_resize_buffer(snd_midi_event_t *dev, int bufsize);  int snd_midi_event_resize_buffer(snd_midi_event_t *dev, int bufsize);
45  void snd_midi_event_free(snd_midi_event_t *dev);  void snd_midi_event_free(snd_midi_event_t *dev);

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26