Home
last modified time | relevance | path

Searched refs:get_dBFS (Results 1 – 7 of 7) sorted by relevance

/external/adhd/cras/src/tests/
Dvolume_curve_unittest.cc18 EXPECT_EQ(0 - 50 * 50, curve->get_dBFS(curve, 50)); in TEST()
19 EXPECT_EQ(0, curve->get_dBFS(curve, 100)); in TEST()
20 EXPECT_EQ(0 - 100 * 50, curve->get_dBFS(curve, 0)); in TEST()
21 EXPECT_EQ(0 - 25 * 50, curve->get_dBFS(curve, 75)); in TEST()
29 EXPECT_EQ(-600 - 50 * 75, curve->get_dBFS(curve, 50)); in TEST()
30 EXPECT_EQ(-600, curve->get_dBFS(curve, 100)); in TEST()
31 EXPECT_EQ(-600 - 100 * 75, curve->get_dBFS(curve, 0)); in TEST()
32 EXPECT_EQ(-600 - 25 * 75, curve->get_dBFS(curve, 75)); in TEST()
45 EXPECT_EQ(i * 2 - 400, curve->get_dBFS(curve, i)); in TEST()
Dalsa_mixer_unittest.cc1617 curve->get_dBFS = get_dBFS_default; in cras_volume_curve_create_default()
1633 curve->get_dBFS = get_dBFS_default; in cras_card_config_get_volume_curve_for_control()
Dalsa_io_unittest.cc235 .get_dBFS = fake_get_dBFS,
1933 .get_dBFS = fake_get_dBFS, in TEST_F()
/external/adhd/cras/src/server/
Dcras_volume_curve.c59 curve->curve.get_dBFS = get_dBFS_step; in cras_volume_curve_create_simple_step()
72 curve->curve.get_dBFS = get_dBFS_explicit; in cras_volume_curve_create_explicit()
Dcras_volume_curve.h22 long (*get_dBFS)(const struct cras_volume_curve *curve, size_t volume); member
Dsoftvol_curve.c51 curve->get_dBFS(curve, volume)); in softvol_build_from_curve()
Dcras_alsa_io.c727 cras_system_set_volume_limits(curve->get_dBFS(curve, 1), /* min */ in set_alsa_volume_limits()
728 curve->get_dBFS(curve, in set_alsa_volume_limits()
765 cras_alsa_mixer_set_dBFS(aio->mixer, curve->get_dBFS(curve, volume), in set_alsa_volume()