Searched refs:softvol_scalers (Results 1 – 6 of 6) sorted by relevance
15 extern const float softvol_scalers[101];20 return softvol_scalers[volume_index]; in softvol_get_scaler()
13 const float softvol_scalers[101] = { variable
753 if (iodev->active_node && iodev->active_node->softvol_scalers) in cras_iodev_get_software_volume_scaler()754 return iodev->active_node->softvol_scalers[volume]; in cras_iodev_get_software_volume_scaler()1589 if (odev->active_node && odev->active_node->softvol_scalers) { in cras_iodev_start_volume_ramp()1590 old_scaler = odev->active_node->softvol_scalers[old_volume]; in cras_iodev_start_volume_ramp()1591 new_scaler = odev->active_node->softvol_scalers[new_volume]; in cras_iodev_start_volume_ramp()
133 float *softvol_scalers; member
887 free(node->softvol_scalers); in free_alsa_iodev_resources()1762 ionode->softvol_scalers = softvol_build_from_curve(curve); in build_softvol_scalers()
20 float softvol_scalers[101]; variable824 softvol_scalers[13] = 0.435; in TEST()831 EXPECT_EQ(softvol_scalers[13], cras_scale_buffer_scaler); in TEST()864 softvol_scalers[volume] = volume_scaler; in TEST()871 EXPECT_EQ(softvol_scalers[volume], cras_scale_buffer_scaler); in TEST()882 softvol_scalers[volume] = volume_scaler; in TEST()896 EXPECT_FLOAT_EQ(softvol_scalers[volume] * ramp_scaler, in TEST()900 EXPECT_FLOAT_EQ(softvol_scalers[volume] * increment, in TEST()902 EXPECT_FLOAT_EQ(softvol_scalers[volume] * target, in TEST()981 softvol_scalers[13] = 0.435; in TEST()[all …]