•  Back 
  •  Sound routines 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File4.17.54  dspmix                                                    TOS

 Name:         »dspmix« - Mix or interleave stereo channels

 Opcode:       500, 101

 Syntax:       int32_t xbios ( 500, 101, int16_t channels, int32_t 
               startadr, int32_t len, int32_t zieladr );

 Description:  Mixes or interleaves stereo channels (4, 8 or 16 
               tracks) to Falcon-compatible 128-bit words

                channels    4, 8 or 16 tracks
                startradr   Start address of tracks to be mixed
                len         Length of a stereo track
                zieladr     Start address for the mixed stereo track

               The tracks to be mixed lie in memory as stereo tracks 
               following each other. The volume value table contains 
               the sound volume for the individual channels in the 
               region 0-200:
                 0 = Mute
                50 = Half volume
               100 = Original volume
               200 = Double volume


 Return value: 0 - No error

 Availability: This function is only available when the driver of the 
               StarTrack sound card has been launched.

 Group:        Sound routines

 See also:     Binding