Home | History | Annotate | Download | only in tests

Lines Matching full:curve

1703 static long get_dBFS_default(const struct cras_volume_curve *curve,
1711 struct cras_volume_curve *curve;
1712 curve = (struct cras_volume_curve *)calloc(1, sizeof(*curve));
1713 if (curve)
1714 curve->get_dBFS = get_dBFS_default;
1715 return curve;
1718 void cras_volume_curve_destroy(struct cras_volume_curve *curve)
1721 free(curve);
1729 struct cras_volume_curve *curve;
1730 curve = (struct cras_volume_curve *)calloc(1, sizeof(*curve));
1731 if (curve != NULL)
1732 curve->get_dBFS = get_dBFS_default;
1733 return curve;