Ejemplo n.º 1
0
 internal void Apply(IPlayableItemEditorFactory playItemEditorFactory)
 {
     this._playableItem.AudioGain = this.AudioGain;
     if (playItemEditorFactory != null)
     {
         using (var editor = playItemEditorFactory.CreateEditor())
         {
             //editor.ChangePlayRange(this._playableItem.PlayItem, this.PlayRange);
             editor.ChangePlayRange(this._playableItem, this.PlayRange);
         }
     }
     else
     {
         this._playableItem.PlayRange = this.PlayRange;
     }
 }