Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
00001 #ifndef STK_WVIN_H 00002 #define STK_WVIN_H 00003 00004 #include "Stk.h" 00005 00006 namespace stk { 00007 00008 /***************************************************/ 00017 /***************************************************/ 00018 00019 class WvIn : public Stk 00020 { 00021 public: 00023 unsigned int channelsOut( void ) const { return data_.channels(); }; 00024 00026 00029 const StkFrames& lastFrame( void ) const { return lastFrame_; }; 00030 00032 virtual StkFloat tick( unsigned int channel = 0 ) = 0; 00033 00035 virtual StkFrames& tick( StkFrames& frames ) = 0; 00036 00037 protected: 00038 00039 StkFrames data_; 00040 StkFrames lastFrame_; 00041 00042 }; 00043 00044 } // stk namespace 00045 00046 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2010 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |