public static void TriggerAudioSample(
     this DSPCommandBlock block,
     DSPNode node,
     AudioSampleDataReader reader,
     Categories category = Categories.OneShot)
 {
     // Kick off playback. This will be done in a better way in the future.
     block.UpdateAudioKernel <StartPlayingAudioSample, Parameters, Providers, PlayAudioSampleReaderNode>(
         new StartPlayingAudioSample(reader, category),
         node
         );
 }
 public StartPlayingAudioSample(AudioSampleDataReader reader, Categories category)
 {
     this._reader   = reader;
     this._category = category;
 }