Could anybody help me rewriting the following sound processing example in qi framework in C++?
http://doc.aldebaran.com/2-8/dev/cpp/examples/audio/soundprocessing/soundprocessing.html
I am aware of an example in Python, but it does not help me much with C++. The original example uses a class that derives from ALSoundExtractor and declares function process() which overrides a virtual function from ALSoundExtractor. It behaves like a callback function and it works for me in the older NAOqi 2.1.4.
Alternatively, if overriding the process() function is not appropriate in qi framework anymore, I would be interested in any other way of accessing the audio data.