Skip to content

Commit

Permalink
Resharper warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
csinkers committed Aug 18, 2024
1 parent 8888c36 commit cf82a84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 1 addition & 9 deletions src/AdlMidiImports.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,6 @@ public struct Bank
public IntPtr Pointer2;
}

/// <summary>
/// Version of the instrument data format
/// </summary>
public enum InstrumentVersion
{
ADLMIDI_InstrumentVersion = 0
}

#region Setup

/// <summary>
Expand Down Expand Up @@ -910,7 +902,7 @@ public struct AdlVersion
/// <summary>
/// Perform a system exclusive message
/// <param name="device">Instance of the library</param>
/// <param name="msg">Raw SysEx message buffer (must begin with 0xF0 and end with 0xF7)</param>
/// <param name="message">Raw SysEx message buffer (must begin with 0xF0 and end with 0xF7)</param>
/// <param name="size">Size of given SysEx message buffer</param>
/// <returns>1 when SysEx message was successfully processed, 0 when SysEx message was rejected for any reason</returns>
/// </summary>
Expand Down
2 changes: 2 additions & 0 deletions src/Modulation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ namespace ADLMidi.NET
[Flags]
public enum Modulation : byte
{
// ReSharper disable InconsistentNaming
// Two operator:
FM = 0,
AM = 1,
// ReSharper restore InconsistentNaming

Feedback1 = 2,
Feedback2 = 4,
Expand Down

0 comments on commit cf82a84

Please sign in to comment.