/// <summary> /// Unpauses playback /// </summary> protected override void UnPauseInternal() { var transport = PlaybackControllerHelper.GetCurrentMediaTransport(); if (transport != null) { transport.PlayRate = 2; } }
protected override void Dispose(bool isDisposing) { MediaTransport transport = PlaybackControllerHelper.GetCurrentMediaTransport(); if (transport != null) { transport.PropertyChanged -= MediaTransport_PropertyChanged; } base.Dispose(isDisposing); }