public SmackerPlayer(Stream smk_stream, int buffered_frames) { file = SmackerFile.OpenFromStream(smk_stream); decoder= file.Decoder; this.buffered_frames = buffered_frames; waitEvent = new AutoResetEvent (false); }