Return information about the opened sample file. New programs are recommended to use PlayIt_FileInfo instead.

=> no parameters

<= R0 = pointer to filename being played
R1 = sample format
R2 = frame rate
R3,R4 = range of sample data
R5 = size of file in frames



R0 to R4 are exactly the information returned from PlayIt_Open . This SWI enables files opened with the command line interface to still be identified by other software. In addition R5 returns how many sample frames there are in the file (and hence, in combination with the frame rate, how many seconds long it is). This defines the limits imposed on the parameters of PlayIt_BeginEnd and PlayIt_SetPtr . The length of the sample file in seconds is simply R5/R2.



An error is returned if no file is open.


[ Parent ] [ Manual root ]


Created by SHtoHTML v1.20