Searched refs:get_dBFS (Results 1 – 7 of 7) sorted by relevance
/external/adhd/cras/src/tests/ |
D | volume_curve_unittest.cc | 18 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()
|
D | alsa_mixer_unittest.cc | 1617 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()
|
D | alsa_io_unittest.cc | 235 .get_dBFS = fake_get_dBFS, 1933 .get_dBFS = fake_get_dBFS, in TEST_F()
|
/external/adhd/cras/src/server/ |
D | cras_volume_curve.c | 59 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()
|
D | cras_volume_curve.h | 22 long (*get_dBFS)(const struct cras_volume_curve *curve, size_t volume); member
|
D | softvol_curve.c | 51 curve->get_dBFS(curve, volume)); in softvol_build_from_curve()
|
D | cras_alsa_io.c | 727 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()
|