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 : 100Devconnect()Dsptristate() XBIOSSyntaxLONG Dsptristate( dspxmit, dsprec )
WORD dspxmit, dsprec;
Function Dsptristate() connects or disconnects the DSP from the
connection matrix.
Opcode 137 (0x89)
Availability Available only when bit #3 and #4 of the '_SND' cookie are set.
Parameters dpsxmit and dsprec specify whether data being transmitted
and/or recorded into the DSP passes through the connection
matrix. A value of DSP_TRISTATE (0) indicates a 'tristate'
condition where data is not fed through the matrix. A value
of DSP_ENABLE (1) enables the use of the connection matrix.
Binding move.w dsprec,-(sp)
move.w dspxmit,-(sp)
move.w #$89,-(sp)
trap #14
addq.l #6,sp
Return Value Dsptristate() returns 0 if no error occurred or non-zero
otherwise.
Comments This call is used in conjunction with Devconnect() to link
the DSP to the internal sound system.
See Also Devconnect()