public void OnStreamUpdate(object sender, StreamUpdateEventArgs args) { stream.Write(args.Data, 0, args.Data.Length); if (!IsPlaying) { StartPlay(); } }
void radio_OnStreamUpdate(object sender, StreamUpdateEventArgs e) { status = Status.PLAYING; audio.OnStreamUpdate(sender, e); }
public void OnStreamUpdate(object sender, StreamUpdateEventArgs args) { stream.Write(args.Data, 0, args.Data.Length); if (!IsPlaying) StartPlay(); }