Ejemplo n.º 1
0
 protected void Init(Stream Content, bool Loop, double Volume)
 {
     _player.Looping = Loop;
     _player.Reset();
     _player.SetDataSource(new StreamMediaDataSourceLegacy(Content));
     _player.Prepare();
     _player.Prepared += (sender, e) => { _prepared = true; };
 }