foobar2000 SDK  2015-08-03
VisUtils.h
Go to the documentation of this file.
1 namespace VisUtils {
4  void PrepareFFTChunk(audio_chunk const & source, audio_chunk & out, double centerOffset);
5 
6  bool IsValidFFTSize(t_size size);
7  t_size MatchFFTSize(t_size samples);
8 };
Interface to container of a chunk of audio data. See audio_chunk_impl for an implementation.
Definition: audio_chunk.h:5
void 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...
Definition: VisUtils.cpp:4
size_t t_size
Definition: int_types.h:48
t_size MatchFFTSize(t_size samples)
Definition: VisUtils.cpp:28
bool IsValidFFTSize(t_size p_size)
Definition: VisUtils.cpp:24