/** * @author Gwennael Gate * Copyright (c) Aldebaran Robotics 2010, 2011 */ #ifndef SOUNDPROCESSING_H #define SOUNDPROCESSING_H #include #include #include #include #include #include using namespace AL; class ALSoundProcessing : public ALSoundExtractor { public: ALSoundProcessing(boost::shared_ptr pBroker, std::string pName); virtual ~ALSoundProcessing(); //method inherited from almodule that will be called after constructor void init(); public: void process(const int & nbOfChannels, const int & nbrOfSamplesByChannel, const AL_SOUND_FORMAT * buffer, const ALValue & timeStamp); private: ALMemoryProxy fProxyToALMemory; std::vector fALMemoryKeys; }; #endif