Searched refs:data_right (Results 1 – 1 of 1) sorted by relevance
/external/adhd/cras/src/tests/ |
D | dsp_core_unittest.cc | 338 float *data_right = (float *)malloc(sizeof(float) * len); in TEST() local 339 float *data[] = {data_left, data_right}; in TEST() 376 memset(data_right, 0, sizeof(float) * len); in TEST() 380 add_sine(data_right, len, f0, 0, 1); in TEST() 381 add_sine(data_right, len, f2, 0, 1); in TEST() 382 add_sine(data_right, len, f4, 0, 1); in TEST() 392 EXPECT_NEAR(0.4, magnitude_at(data_right, len, f0), 0.1); in TEST() 395 EXPECT_NEAR(1, magnitude_at(data_right, len, f2), 0.1); in TEST() 398 EXPECT_NEAR(10, magnitude_at(data_right, len, f4), 1); in TEST() 405 free(data_right); in TEST()
|