NA REMOTE(3)
NAME
NARemote, NAListDevices, NAListOperations, NAFreeList – remote control library routines for
NetAudio clients
D
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
etc. on a DAT machine in conjunction with audio recording and playback. They can, however, also be
u
sed to control any device that has an infrared remote control.
Routines
#include <netaudio.h>
int NARemote(port,device,operation
Aport ∗port;
N
const char ∗device
;
onst char ∗operation;
c
Execute the remote control operation on the given device. This routine will return immediately,
likely before the remote command has actually been executed. To synchronize with comple-
t
ion, the
NA_REMOTEDONE
har ∗∗NAListDevices(port,ndevices)
c
NAport ∗port;
nt ∗ndevices;
i
This routine returns a list of available remote devices. The number of entries in the list is
stored in ndevices. The memory used by the returned list should be freed with NAFreeList(
w
hen it is no longer needed.
char ∗∗NAListOperations(port,device,noperations
Aport ∗port;
N
const char ∗device
;
nt ∗noperations;
i
This routine returns a list of the legal operations for the given remote device. The number of
entries in the list is stored in noperations. The memory used by the returned list should be
f
reed with NAFreeList() when it is no longer needed.
void NAFreeList(list)
har ∗∗list;
c
Free the memory used by a list returned by NAListDevices() or NAListOperations().
SEE ALSO
netaudio(3), na_event(3), na_info(3), netaudiod(8),
DAT-Link User's Manual.
N
etAudio Reference
)
event can be used.
)
Last change: 1992/03/02
181
STOP, REWIND, RECORD,
)
1
Need help?
Do you have a question about the DAT-Link and is the answer not in the manual?