master
Simon G 5 years ago
parent afe05e8c9c
commit d17ba86299
  1. 1
      Lib.Audio/Device.cs
  2. 1
      Lib.Audio/Interfaces/IDevice.cs

@ -32,6 +32,7 @@ namespace Lib.Audio
_midiCommunication.ErrorReceived += OnMidiCommunicationErrorReceived; _midiCommunication.ErrorReceived += OnMidiCommunicationErrorReceived;
} }
public string Name => _driver.Name ?? "";
public List<IChannel> Channels { get; } public List<IChannel> Channels { get; }
public void StartCommunication() public void StartCommunication()

@ -8,6 +8,7 @@ namespace Lib.Audio.Interfaces
{ {
public interface IDevice public interface IDevice
{ {
string Name { get; }
List<IChannel> Channels { get; } List<IChannel> Channels { get; }
void StartCommunication(); void StartCommunication();

Loading…
Cancel
Save