mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2024-12-23 06:50:12 +00:00
14 lines
311 B
C
14 lines
311 B
C
#pragma once
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
#include "message.h"
|
|
|
|
typedef struct MidiParser MidiParser;
|
|
|
|
MidiParser* midi_parser_alloc(void);
|
|
|
|
void midi_parser_free(MidiParser* parser);
|
|
|
|
bool midi_parser_parse(MidiParser* parser, uint8_t data);
|
|
|
|
MidiEvent* midi_parser_get_message(MidiParser* parser); |