commit 2f1b87d8db9263155c94c76a0d6b833234c19f2e
parent a62a5882a1d38ca3f72ed7ff4a46b7c04c13e739
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date: Mon, 14 Jun 2021 16:57:06 +0200
Oups
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/clap/events.h b/include/clap/events.h
@@ -133,7 +133,7 @@ typedef struct clap_event_chord {
} clap_event_chord;
typedef struct clap_event_midi {
- uint8_t data[4];
+ uint8_t data[3];
} clap_event_midi;
typedef struct clap_event_midi_sysex {
diff --git a/include/clap/stream.h b/include/clap/stream.h
@@ -20,7 +20,7 @@ typedef struct clap_ostream {
/* returns the number of bytes written.
* -1 on error. */
- int64_t (*write)(struct clap_istream *stream, const void *buffer, uint64_t size);
+ int64_t (*write)(struct clap_ostream *stream, const void *buffer, uint64_t size);
} clap_ostream;
#ifdef __cplusplus