1
/*******************************************/
2
/* Real-Time Duplex Input/Output Class, */
3
/* by Gary P. Scavone, 1999 */
5
/* This object opens the sound i/o */
6
/* device, reads buffers in from it, and */
7
/* pokes buffers of samples out to it. */
9
/* At the moment, duplex mode is possible */
10
/* only on Linux (OSS), IRIX, and */
11
/* Windows95/98 platforms. */
12
/*******************************************/
14
#if !defined(__RtDuplex_h)
20
class RtDuplex : public Object
33
RtDuplex(int chans = 1, MY_FLOAT srate = SRATE, int device = -1);
35
MY_FLOAT tick(MY_FLOAT outsample);
36
MY_MULTI mtick(MY_MULTI outsamples);
39
#endif // defined(__RtDuplex_h)