[Stk] RtWvIn and WvIn

P.J.Leonard P.J.Leonard at bath.ac.uk
Thu Oct 31 03:06:28 PST 2002


Hi,

  Trying to compile my code with the latest stk

  In older versions of STK it was possible to do something like


   WvIn *in;


  switch() {
   case 1: in = new RtWvIn();

   case 2: in = new WavWvIn();
  }

  Now this appears to be no longer possible because RtWvIn uses
protected inheritance.

   The old scheme was nice because you could switch from real time input
to reading from a file. I have not looked at the 4.0 release in detail
so I may missing something.


   cheers Paul.




More information about the Stk mailing list