UtiLite
0.3.1
A lite utilities library
|
#include <UAudioCaptureFFT.h>
Inherits UThread.
Protected Member Functions | |
virtual void | mainLoopBegin () |
virtual void | mainLoop () |
virtual void | mainLoopKill () |
Wrapper of UAudioCapture to get samples in frequency domain. Info: FFTW used.
virtual void UAudioCaptureFFT::mainLoop | ( | ) | [protected, virtual] |
Pure virtual method mainLoop(). The inner loop of the thread. This method is called repetitively until the thread is killed. Note that if kill() is called in mainLoopBegin(), mainLoop() is not called, terminating immediately the thread.
Implements UThread.
virtual void UAudioCaptureFFT::mainLoopBegin | ( | ) | [protected, virtual] |
Virtual method mainLoopBegin(). User can implement this function to add a behavior before the main loop is started. It is called once (before entering mainLoop()).
Reimplemented from UThread.
virtual void UAudioCaptureFFT::mainLoopKill | ( | ) | [protected, virtual] |
Virtual method mainLoopKill(). User can implement this function to add a behavior before the thread is killed. When this function is called, the state of the thread is set to kSKilled. It is useful to wake up a sleeping thread to finish his loop and to avoid a deadlock.
Reimplemented from UThread.