1
/********************************************/
2
/* WvOut Abstract Class, */
3
/* by Tim Stilson, 1996 */
4
/* revised by Gary P. Scavone, 1999-2000 */
6
/* This class can handle multi-channel */
7
/* data via the mtick() method. */
9
/* Currently, WvOut and its subclasses are */
10
/* non-interpolating. Thus, the output */
11
/* rate is always SRATE (defined in */
12
/* Object.h). A future upgrade could add */
13
/* interpolation functionality to allow */
14
/* output rates different than the STK */
15
/* internal processing rate (SRATE). */
16
/********************************************/
36
long WvOut :: getCounter()
41
MY_FLOAT WvOut :: getTime()
43
return (MY_FLOAT) totalCount * ONE_OVER_SRATE;
46
void WvOut :: tick(MY_FLOAT sample)
50
void WvOut :: mtick(MY_MULTI samples)