You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
463 B
20 lines
463 B
// Author: Gockner, Simon
|
|
// Created: 2021-04-09
|
|
// Copyright(c) 2021 SimonG. All Rights Reserved.
|
|
|
|
using System;
|
|
using Lib.Midi.Messages.Interfaces;
|
|
|
|
namespace Lib.Midi.Interfaces
|
|
{
|
|
public interface IMidiCommunication
|
|
{
|
|
void Open(bool useMidiView);
|
|
void Close();
|
|
|
|
void Send(IMidiMessage message);
|
|
|
|
event EventHandler<IMidiMessage> MessageReceived;
|
|
event EventHandler<IMidiMessage> ErrorReceived;
|
|
}
|
|
} |