Stores PCM data of a sound sequence and computes some transformations on it. More...
#include <audiochunk.h>
Public Member Functions | |
void | setData (uint8_t *data, unsigned int size, uint8_t bytesPerSample, uint8_t channels, unsigned int rate, int64_t pts) |
int | getValueByIndex (unsigned int index) |
int | getValueByTime (int64_t time) |
AudioChunk * | average (unsigned int passes) |
AudioChunk * | reduceToBounds (unsigned int passes) |
unsigned int * | computeSpectrum (int size) |
Stores PCM data of a sound sequence and computes some transformations on it.