diff options
author | Henri Herscher <henri@oreka.org> | 2006-06-21 21:36:29 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2006-06-21 21:36:29 +0000 |
commit | f88e28defeeae1284f716a877f10a4f7b486f360 (patch) | |
tree | e395ceb8c40da98a20e8cc27de540e048713d4c2 /orkaudio/CapturePort.h | |
parent | 2da3fde0f17f0df3ac54559badadefcc347126e5 (diff) |
Added #pragma warning( disable: 4786 ) to a few files
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@281 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/CapturePort.h')
-rw-r--r-- | orkaudio/CapturePort.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/orkaudio/CapturePort.h b/orkaudio/CapturePort.h index 69b4c0a..04ebf49 100644 --- a/orkaudio/CapturePort.h +++ b/orkaudio/CapturePort.h @@ -17,6 +17,7 @@ #define __PORT_H__ #include <map> +#include <list> #include "boost/shared_ptr.hpp" #include "ace/Thread_Mutex.h" #include "ace/Singleton.h" @@ -25,6 +26,7 @@ #include "AudioCapture.h" #include "AudioTape.h" +#include "Filter.h" /** Base class for all types of capture ports. */ @@ -39,6 +41,9 @@ public: void AddCaptureEvent(CaptureEventRef eventRef); bool IsExpired(time_t now); private: + void FilterAudioChunk(AudioChunkRef& chunkRef); + void FilterCaptureEvent(CaptureEventRef& eventRef); + CStdString m_id; AudioTapeRef m_audioTapeRef; ACE_Thread_Mutex m_mutex; @@ -46,6 +51,7 @@ private: double m_vadBelowThresholdSec; bool m_vadUp; time_t m_lastUpdated; + std::list<FilterRef> m_filters; }; typedef boost::shared_ptr<CapturePort> CapturePortRef; |