Home
last modified time | relevance | path

Searched refs:softvol_scalers (Results 1 – 6 of 6) sorted by relevance

/external/adhd/cras/src/server/
Dsoftvol_curve.h15 extern const float softvol_scalers[101];
20 return softvol_scalers[volume_index]; in softvol_get_scaler()
Dsoftvol_curve.c13 const float softvol_scalers[101] = { variable
Dcras_iodev.h92 float *softvol_scalers; member
Dcras_iodev.c777 if (iodev->active_node && iodev->active_node->softvol_scalers) in cras_iodev_get_software_volume_scaler()
778 return iodev->active_node->softvol_scalers[volume]; in cras_iodev_get_software_volume_scaler()
Dcras_alsa_io.c854 free(node->softvol_scalers); in free_alsa_iodev_resources()
1686 ionode->softvol_scalers = softvol_build_from_curve(curve); in build_softvol_scalers()
/external/adhd/cras/src/tests/
Diodev_unittest.cc19 float softvol_scalers[101]; variable
847 softvol_scalers[13] = 0.435; in TEST()
854 EXPECT_EQ(softvol_scalers[13], cras_scale_buffer_scaler); in TEST()
885 softvol_scalers[volume] = volume_scaler; in TEST()
892 EXPECT_EQ(softvol_scalers[volume], cras_scale_buffer_scaler); in TEST()
902 softvol_scalers[volume] = volume_scaler; in TEST()
916 EXPECT_FLOAT_EQ(softvol_scalers[volume] * ramp_scaler, in TEST()
920 EXPECT_FLOAT_EQ(softvol_scalers[volume] * increment, in TEST()
995 softvol_scalers[13] = 0.435; in TEST()
1213 softvol_scalers[80] = 0.5; in TEST()
[all …]