Lines Matching defs:waveform
162 status_t Visualizer::getWaveForm(uint8_t *waveform)
164 if (waveform == NULL) {
174 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform);
181 memset(waveform, 0x80, mCaptureSize);
208 status_t Visualizer::doFft(uint8_t *fft, uint8_t *waveform)
215 ((waveform[i] ^ 0x80) << 24) | ((waveform[i + 1] ^ 0x80) << 8);
244 uint8_t waveform[mCaptureSize];
245 status_t status = getWaveForm(waveform);
251 status = doFft(fft, waveform);
261 wavePtr = waveform;