protected OnTimescaleValueChanged ( object sender, System e ) : void | ||
sender | object | |
e | System | |
리턴 | void |
protected virtual void OnTimescaleValueChanged(object sender, System.EventArgs e)
{
if (seeking){
/* Releasing the timescale always report value different from the real one.
* We need to cache previous position and seek again to the this position */
SeekFromTimescale(seeksQueue[0] != -1 ? seeksQueue[0] : seeksQueue[1]);
seeking=false;
player.Tick += tickHandler;
if (IsPlayingPrevState)
player.Play();
}
}