VisUtils Namespace Reference


Functions

void PrepareFFTChunk (audio_chunk const &source, audio_chunk &out, double centerOffset)
bool IsValidFFTSize (t_size size)
t_size MatchFFTSize (t_size samples)


Function Documentation

bool VisUtils::IsValidFFTSize ( t_size  size  ) 

t_size VisUtils::MatchFFTSize ( t_size  samples  ) 

void VisUtils::PrepareFFTChunk ( audio_chunk const &  source,
audio_chunk out,
double  centerOffset 
)

Turns an arbitrary audio_chunk into a valid chunk to run FFT on, with proper sample count etc.

Parameters:
centerOffset Time offset (in seconds) inside the source chunk to center the output on, in case the FFT window is smaller than input data.


Generated on Thu Aug 28 21:16:12 2008 for foobar2000 SDK by  doxygen 1.5.5