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
718 if (iodev->active_node && iodev->active_node->softvol_scalers) in cras_iodev_get_software_volume_scaler()719 return iodev->active_node->softvol_scalers[volume]; in cras_iodev_get_software_volume_scaler()1508 if (odev->active_node && odev->active_node->softvol_scalers) { in cras_iodev_start_volume_ramp()1509 old_scaler = odev->active_node->softvol_scalers[old_volume]; in cras_iodev_start_volume_ramp()1510 new_scaler = odev->active_node->softvol_scalers[new_volume]; in cras_iodev_start_volume_ramp()
132 float *softvol_scalers; member
851 free(node->softvol_scalers); in free_alsa_iodev_resources()1654 ionode->softvol_scalers = softvol_build_from_curve(curve); in build_softvol_scalers()
19 float softvol_scalers[101]; variable820 softvol_scalers[13] = 0.435; in TEST()827 EXPECT_EQ(softvol_scalers[13], cras_scale_buffer_scaler); in TEST()860 softvol_scalers[volume] = volume_scaler; in TEST()867 EXPECT_EQ(softvol_scalers[volume], cras_scale_buffer_scaler); in TEST()878 softvol_scalers[volume] = volume_scaler; in TEST()892 EXPECT_FLOAT_EQ(softvol_scalers[volume] * ramp_scaler, in TEST()896 EXPECT_FLOAT_EQ(softvol_scalers[volume] * increment, in TEST()898 EXPECT_FLOAT_EQ(softvol_scalers[volume] * target, in TEST()977 softvol_scalers[13] = 0.435; in TEST()[all …]