317318319320321322323324325326327
if (state == Controller.Started) { player.stop(); } if (state > Controller.Realized) { player.deallocate(); } } } }