Process.cpp
上传用户:wen82zi81
上传日期:2007-01-03
资源大小:40k
文件大小:1k
源码类别:

多媒体编程

开发平台:

Visual C++

  1. // Process.cpp: implementation of the CProcess class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #include "stdafx.h"
  5. #include "??????.h"
  6. #include "Process.h"
  7. #ifdef _DEBUG
  8. #undef THIS_FILE
  9. static char THIS_FILE[]=__FILE__;
  10. #define new DEBUG_NEW
  11. #endif
  12. //////////////////////////////////////////////////////////////////////
  13. // Only One Global class CFFt for the whole app
  14. //////////////////////////////////////////////////////////////////////
  15. CProcess Fft;
  16. //////////////////////////////////////////////////////////////////////
  17. // Construction/Destruction
  18. //////////////////////////////////////////////////////////////////////
  19. CProcess::CProcess()
  20. {
  21. }
  22. CProcess::~CProcess()
  23. {
  24. }
  25. void CProcess::ComputeSamples(SHORT *)
  26. {
  27. CSoundIn::ComputeSamples(0);  // first call the process base class
  28.     // place here you process (try to add an offset to the Input samples)
  29. }