2 * Line6 Linux USB driver - 0.9.1beta
4 * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2.
19 int pos_read
, pos_write
;
24 extern int line6_midibuf_bytes_used(struct MidiBuffer
*mb
);
25 extern int line6_midibuf_bytes_free(struct MidiBuffer
*mb
);
26 extern void line6_midibuf_destroy(struct MidiBuffer
*mb
);
27 extern int line6_midibuf_ignore(struct MidiBuffer
*mb
, int length
);
28 extern int line6_midibuf_init(struct MidiBuffer
*mb
, int size
, int split
);
29 extern int line6_midibuf_read(struct MidiBuffer
*mb
, unsigned char *data
,
31 extern void line6_midibuf_reset(struct MidiBuffer
*mb
);
32 extern int line6_midibuf_skip_message(struct MidiBuffer
*mb
,
34 extern void line6_midibuf_status(struct MidiBuffer
*mb
);
35 extern int line6_midibuf_write(struct MidiBuffer
*mb
, unsigned char *data
,