Skip to content

Commit

Permalink
Remove unused WAV playback implementation (unecessary comments).
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Baykov committed Aug 14, 2016
1 parent 8f8cf71 commit 2e5444e
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions GAVPI/GAVPI/Core/Engine/Action.cs
Original file line number Diff line number Diff line change
Expand Up @@ -363,42 +363,10 @@ public override void run()
}
}

// Simple WAV implementation taken from AVPI
//public partial class Play_WAV : Action
//{
// System.Media.SoundPlayer wav;

// public Play_WAV(string filename)
// {
// this.value = filename;
// try
// {
// wav = new System.Media.SoundPlayer(this.value);
// }
// catch (Exception e)
// {
// // TODO : Notify error.
// }
// }

// public override void run()
// {
// //Quick and easy.
// try
// {
// wav.Play(); //async
// wav.Dispose();
// }
// catch (Exception e)
// {
// // TODO : Notify error.
// }
// }
//}

#endregion

#region RandomPicker Actions
//
public partial class Or : Action
{
static Random rnd = new Random();
Expand Down

0 comments on commit 2e5444e

Please sign in to comment.