private void FireTime(TimeEventArgs e) { EventHandler <TimeEventArgs> d = Time; if (Time != null) { d(this, e); } }
void PlaybackAudioDevice_Time(object source, global::AudioEngine.TimeEventArgs e) { TimeEventArgs ee = new TimeEventArgs(new Time(e.CurrentTimePosition), e.MaxDbSinceLatestTime); FireTime(ee); }