Improve audio and midi support.
This commit is contained in:
parent
9bcc0ae88e
commit
8b5f485d1e
47 changed files with 1446 additions and 634 deletions
14
src/audio/midi/reader/MidiChannelEventAdapter.h
Normal file
14
src/audio/midi/reader/MidiChannelEventAdapter.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include "MidiChannelEvent.h"
|
||||
|
||||
#include <fstream>
|
||||
|
||||
class MidiChannelEventAdapter
|
||||
{
|
||||
public:
|
||||
static int ReadEvent(std::ifstream* file, char firstByte, MidiChannelEvent* event, MidiChannelEvent::Type& lastEventType);
|
||||
|
||||
static int ReadEventData(std::ifstream* file, MidiChannelEvent* event, char c);
|
||||
static int ReadEventData(std::ifstream* file, MidiChannelEvent* event);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue