Example #1
0
 public AudioClipboard(PhraseNode node, AudioRange range)
     : base(node, true)
 {
     mAudioRange = range;
     if (mAudioRange.HasCursor)
     {
         throw new Exception("Expected actual audio selection.");
     }
     if (!(Node is PhraseNode))
     {
         throw new Exception("Expected phrase node.");
     }
 }
Example #2
0
 public AudioSelection(PhraseNode node, IControlWithSelection control, AudioRange audioRange)
     : base(node, control)
 {
     mAudioRange = audioRange;
 }