void main()
{
for (;;) {
for (i = 0; i < NUM_BANDS; i++) {
decibel = 20.0f * log10f(spectra_ptr[i]);
graph[i] = (CriSint32)(decibel + 96.0f);
}
Sleep(10);
}
}
CriSint32 num_channels, CriSint32 num_samples, void *data[])
{
AppObj *app_obj = (AppObj*)obj;
if ((num_channels <= 0) || (num_samples <= 0)) {
return;
}
}
void criAtomExAsr_SetBusFilterCallback(CriSint32 bus_no, CriAtomExAsrBusFilterCbFunc pre_func, CriAtomExAsrBusFilterCbFunc post_func, void *obj)
void criAtomDspSpectra_Reset(CriAtomDspSpectraHn spectra)
スペクトラムアナライザのリセット
void criAtomDspSpectra_Process(CriAtomDspSpectraHn spectra, CriUint32 num_channels, CriUint32 num_samples, CriFloat32 *pcm[])
スペクトラム解析
CriAtomDspSpectraHn criAtomDspSpectra_Create(const CriAtomDspSpectraConfig *config, void *work, CriSint32 work_size)
スペクトラムアナライザの作成
const CriFloat32 * criAtomDspSpectra_GetLevels(CriAtomDspSpectraHn spectra)
スペクトル解析結果の取得
enum CriAtomPcmFormatTag CriAtomPcmFormat
PCMフォーマット