startPlayer


function startPlayer:boolean;

Starts playing the audio previously loaded by 'openPlayer'. Returns false if the player cannot be started.

  begin
	
    if not openPlayer('/explosion.mid', 'audio/midi') then  halt;	
    if not setPlayerCount(-1) then halt;
    if not startPlayer then halt;

    delay(5000);	
  end. 

See also: openPlayer