public void Play(Audio.Player player) { if (player is IMidiPlayer) { (player as IMidiPlayer).Play(this, true); } }
public Audio.Player GetMidiPlayer() { if (player == null) { player = new Bass.MidiPlayer(dataSource); } return(player); }