mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 13:13:57 +08:00
c078a4aac2
The driver version string was removed in an ealier commit for being useless. These are equally useless. Signed-off-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
/*
|
|
* Line 6 Linux USB driver
|
|
*
|
|
* Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at)
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation, version 2.
|
|
*
|
|
*/
|
|
|
|
#ifndef MIDIBUF_H
|
|
#define MIDIBUF_H
|
|
|
|
struct midi_buffer {
|
|
unsigned char *buf;
|
|
int size;
|
|
int split;
|
|
int pos_read, pos_write;
|
|
int full;
|
|
int command_prev;
|
|
};
|
|
|
|
extern int line6_midibuf_bytes_used(struct midi_buffer *mb);
|
|
extern int line6_midibuf_bytes_free(struct midi_buffer *mb);
|
|
extern void line6_midibuf_destroy(struct midi_buffer *mb);
|
|
extern int line6_midibuf_ignore(struct midi_buffer *mb, int length);
|
|
extern int line6_midibuf_init(struct midi_buffer *mb, int size, int split);
|
|
extern int line6_midibuf_read(struct midi_buffer *mb, unsigned char *data,
|
|
int length);
|
|
extern void line6_midibuf_reset(struct midi_buffer *mb);
|
|
extern int line6_midibuf_skip_message(struct midi_buffer *mb,
|
|
unsigned short mask);
|
|
extern void line6_midibuf_status(struct midi_buffer *mb);
|
|
extern int line6_midibuf_write(struct midi_buffer *mb, unsigned char *data,
|
|
int length);
|
|
|
|
#endif
|