EasyManua.ls Logo

Townshend Computer Tools DAT-Link - Na Remote

Default Icon
208 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NA REMOTE(3) 181
NAME
NARemote, NAListDevices, NAListOperations, NAFreeList remote control library routines for
D
NetAudio clients
ESCRIPTION
These routines allow C programs to execute remote control functions via a NetAudio server across the
network. These functions are typically used to perform functions such as
STOP, REWIND, RECORD,
u
etc. on a DAT machine in conjunction with audio recording and playback. They can, however, also be
sed to control any device that has an infrared remote control.
Routines
#include <netaudio.h>
)
N
int NARemote(port,device,operation
Aport port;
;
c
const char device
onst char operation;
Execute the remote control operation on the given device. This routine will return immediately,
t
likely before the remote command has actually been executed. To synchronize with comple-
ion, the event can be used.
c
NA_REMOTEDONE
har ∗∗NAListDevices(port,ndevices)
i
NAport port;
nt ndevices;
This routine returns a list of available remote devices. The number of entries in the list is
)
w
stored in ndevices. The memory used by the returned list should be freed with NAFreeList(
hen it is no longer needed.
)
N
char ∗∗NAListOperations(port,device,noperations
Aport port;
;
i
const char device
nt noperations;
This routine returns a list of the legal operations for the given remote device. The number of
f
entries in the list is stored in noperations. The memory used by the returned list should be
reed with NAFreeList() when it is no longer needed.
c
void NAFreeList(list)
har ∗∗list;
Free the memory used by a list returned by NAListDevices() or NAListOperations().
SEE ALSO
netaudio(3), na_event(3), na_info(3), netaudiod(8),
N
DAT-Link User’s Manual.
etAudio Reference Last change: 1992/03/02 1

Table of Contents