Skip to content

Commit

Permalink
removing an obsolete method, unobsoleting volume setting on WaveOutEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
markheath committed Feb 23, 2016
1 parent d16d25d commit ae02165
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
13 changes: 0 additions & 13 deletions NAudio/Midi/TimeSignatureEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,6 @@ public TimeSignatureEvent(long absoluteTime, int numerator, int denominator, int
this.no32ndNotesInQuarterNote = (byte)no32ndNotesInQuarterNote;
}

/// <summary>
/// Creates a new time signature event with the specified parameters
/// </summary>
[Obsolete("Use the constructor that has absolute time first")]
public TimeSignatureEvent(int numerator, int denominator, int ticksInMetronomeClick, int no32ndNotesInQuarterNote, long absoluteTime)
: base(MetaEventType.TimeSignature, 4, absoluteTime)
{
this.numerator = (byte) numerator;
this.denominator = (byte) denominator;
this.ticksInMetronomeClick = (byte) ticksInMetronomeClick;
this.no32ndNotesInQuarterNote = (byte) no32ndNotesInQuarterNote;
}

/// <summary>
/// Numerator (number of beats in a bar)
/// </summary>
Expand Down
1 change: 0 additions & 1 deletion NAudio/Wave/WaveOutputs/WaveOutEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ public PlaybackState PlaybackState
/// <summary>
/// Obsolete property
/// </summary>
[Obsolete]
public float Volume
{
get { return volume; }
Expand Down

0 comments on commit ae02165

Please sign in to comment.