Minimum required version: 1.60



Syntax: *PlayIt_PlayIdle <file>



This does the same as *PlayIt_Play except that if PlayIt already has a file open then the command is ignored. ie it only plays it if PlayIt is idle.



The idea here is that low priority sounds can be played when possible without pre-empting something else (eg a song being played).



Note that the file parameter is mandatory (unlike *PlayIt_Play) since it cannot do anything useful without a file.



The SWI equivalent of this action is done by checking the status with PlayIt_Status  and only proceeding with PlayIt_Open  if bits 0, 1 and 2 of the status word are all clear (ie nothing is active).


[ Parent ] [ Manual root ]


Created by SHtoHTML v1.20