00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 #ifndef CSL_BlockResizer_H 00015 #define CSL_BlockResizer_H 00016 00017 #include "CSL_Core.h" 00018 00019 namespace csl { 00020 00023 00024 class BlockResizer : public UnitGenerator { // it could be an Effect 00025 00026 public: 00027 BlockResizer(UnitGenerator & input, unsigned blockSize); 00028 ~BlockResizer(); 00030 void nextBuffer(Buffer & outputBuffer) throw(CException); 00031 00032 protected: 00033 UnitGenerator * mInput; 00034 Buffer mInputBuffer; 00035 unsigned mBufferSize; 00036 int mFramePointer; 00037 }; 00038 00039 } 00040 00041 #endif
1.4.5-20051010