1
/*******************************************/
2
/* RtWvIn Input Class, */
3
/* by Gary P. Scavone, 1999-2000 */
5
/* This object inherits from WvIn and is */
6
/* used to read in realtime 16-bit data */
7
/* from a computer's audio port. */
9
/* NOTE: This object is NOT intended for */
10
/* use in achieving simultaneous realtime */
11
/* audio input/output (together with */
12
/* RtWvOut). Under certain circumstances */
13
/* such a scheme is possible, though you */
14
/* should definitely know what you are */
15
/* doing before trying. For safer "full- */
16
/* duplex" operation, use the RtDuplex */
18
/*******************************************/
20
#if !defined(__RtWvIn_h)
27
class RtWvIn : public WvIn
34
void getData(long index);
36
RtWvIn(int chans = 1, MY_FLOAT srate = SRATE, int device = -1);
38
void setRate(MY_FLOAT aRate);
39
void addTime(MY_FLOAT aTime);
40
void setLooping(int aLoopStatus);