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.1 buffoper TOS Name: »buffoper« - Set or read record/playback mode
Opcode: 136
Syntax: int32_t buffoper( int16_t mode );
Description: The XBIOS routine buffoper sets or reads the record and
playback mode of the harware sound system.
If the value -1 is passed for mode, then the current
setting will be established. Otherwise mode is coded as
follows:
Bit Operation
0 DMA sound playback
1 Loop playback of sound currently playing
2 DMA sound recording
1 Loop recording within the currently set record
buffer (as set by Buffptr)
Set bits switch an operation on, cleared bits off.
Return value: If successfull the function returns the value 0. If -1
was passed for mode, the return will show the current
state of the sound system, whose coding corresponds to
the parameter mode. Availability: The function is only available on computers of the
Falcon series, or with extended XBIOS routines (_SND).
Group: Sound routines See also: Bindingbuffptrdevconnectdsptristategpiolocksndsetbuffersetinterruptsetmontrackssetmodesettrackssndstatussoundcmdunlocksnd