Ejemplo n.º 1
0
        /// <summary>
        /// Unpauses playback
        /// </summary>
        protected override void UnPauseInternal()
        {
            var transport = PlaybackControllerHelper.GetCurrentMediaTransport();

            if (transport != null)
            {
                transport.PlayRate = 2;
            }
        }
Ejemplo n.º 2
0
        protected override void Dispose(bool isDisposing)
        {
            MediaTransport transport = PlaybackControllerHelper.GetCurrentMediaTransport();

            if (transport != null)
            {
                transport.PropertyChanged -= MediaTransport_PropertyChanged;
            }

            base.Dispose(isDisposing);
        }