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-FileDsp_DoBlock()Dsp_MultBlocks()Dsp_InStream()Dsp_OutStream() XBIOSSyntaxVOID Dsp_OutStream( data_out, block_size, num_blocks, blocks_done )
char *data_out;
LONG block_size;
LONG num_blocks;
LONG *blocks_done;
Function Dsp_OutStream() transfers data from the DSP to
a user-specified buffer using interrupts.
Opcode 100 (0x64)
Availability Available only when bit #3 of the '_SND' cookie is set.
Parameters This call transfers data from the DSP to the buffer pointed
to by data_out via an interrupt handler. block_size specifies the number of DSP WORDs to be transferred and
num_blocks specifies the number of blocks to transfer. The
LONG pointed to by blocks_done will be constantly updated by
the interrupt handler to indicate the number of blocks
successfully transferred. The process is complete when
blocks_done is equal to num_blocks.
Binding pea blocks_done
move.l num_blocks,-(sp)
move.l block_size,-(sp)
pea data_out
move.w #$64,-(sp)
trap #1
lea 18(sp),sp
See Also Dsp_DoBlock(), Dsp_MultBlocks(), Dsp_InStream()