11 #ifndef INCLUDE_REMOTEIO_H
12 #define INCLUDE_REMOTEIO_H
40 #ifdef DO_TIMING // This is for the performance timing code
41 struct timeval then, now;
42 long timeVals, thisSec;
45 void init_io(
unsigned in,
unsigned out);
53 status
open(
unsigned port);
54 virtual status
start();
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
void process_request_packet()
void * RemoteIO_read_loop(void *inst)
struct sockaddr_in * get_client_addr()
float sample
(could be changed to int, or double)
IO – the abstract I/O scheduling class; subclasses interface to specific I/O APIs.
void init_io(unsigned in, unsigned out)
Buffer – the multi-channel sample buffer class (passed around between generators and IO guys)...
struct sockaddr_in _clientAddr _myAddr
status close()
open/close start/stop methods