•  Back 
  •  Application Services Library 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Fileappl_trecord()
Application Services Library
appl_tplay()                                                            AES

Syntax

WORD appl_tplay( mem, num, scale )
VOIDP mem;
WORD num, scale;

Function       appl_tplay() plays back events originally recorded with
               appl_trecord().

Opcode         14 (0x0E)

Availability   All AES versions.

Parameters     mem is a pointer to an array of EVNTREC structures (see
               appl_trecord()).
               num indicates the number of EVNTREC's to play back.
               scale indicates on a scale of 1 to 10000 how fast the AES
               will attempt to play back your recording as follows:
                  Value   Playback Speed
                   100    recorded speed
                   200    twice recorded speed
                    50    half of the recorded speed
               Other values will respond accordingly.

Binding        intin[0] = num;
               intin[1] = scale;

               addrin[0] = mem;

               return crys_if(0x0E);

Return Value   appl_tplay() always returns 1 meaning no error occurred.

Caveats        This function does not work correctly on AES versions less
               than 1.40 without a patch program available from Atari
               Corp.

See Also       appl_trecord()

Group          Application Services Library