private void InvokePlayerStart(string trackName) { PlayerStartEventArgs e = new PlayerStartEventArgs() { SampleRate = reader.WaveFormat.SampleRate, TrackLength = reader.TotalTime, TrackName = trackName }; PlayerStart?.Invoke(this, e); }