UtiLite  0.3.1
A lite utilities library
Protected Member Functions
UAudioCaptureFFT Class Reference

#include <UAudioCaptureFFT.h>

Inherits UThread.

List of all members.

Protected Member Functions

virtual void mainLoopBegin ()
virtual void mainLoop ()
virtual void mainLoopKill ()

Detailed Description

Wrapper of UAudioCapture to get samples in frequency domain. Info: FFTW used.


Member Function Documentation

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.

See also:
mainLoop()
kill()

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.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Enumerations Friends Defines