•  Back 
  •  XBIOS Function Reference 
  •  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-FileSetmode()
Setmontracks()
Settracks()                                                           XBIOS

Syntax

LONG Settracks( playtracks, rectracks )
WORD playtracks, rectracks;

Function      Setttracks() sets the number of recording and playback
              tracks.

Opcode        133 (0x85)

Availability  Available only when bit #2 of the '_SND' cookie is set.

Parameters    playtracks specifies the number of playback tracks (0-3) and
              rectracks specifies the number of recording tracks.

Binding       move.w   rectracks,-(sp)
              move.w   playtracks,-(sp)
              move.w   #$85,-(sp)
              trap     #14
              addq.l   #6,sp

Return Value  Settracks() returns 0 if the operation was successful or
              non-zero otherwise.

Comments      The tracks specified are stereo tracks. When in 8-bit Mono
              mode, two samples are read at a time.

See Also      Setmode(), Setmontracks()