Home
last modified time | relevance | path

Searched refs:ramped_frames (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/tests/
Dramp_unittest.cc64 int ramped_frames = 512; in TEST() local
67 float scaler = increment * ramped_frames; in TEST()
74 rc = cras_ramp_update_ramped_frames(ramp, ramped_frames); in TEST()
90 int ramped_frames = 48000; in TEST() local
99 rc = cras_ramp_update_ramped_frames(ramp, ramped_frames); in TEST()
115 int ramped_frames = 24000; in TEST() local
128 rc = cras_ramp_update_ramped_frames(ramp, ramped_frames); in TEST()
131 scaler = 1 + down_increment * ramped_frames; in TEST()
152 int ramped_frames = 24000; in TEST() local
165 rc = cras_ramp_update_ramped_frames(ramp, ramped_frames); in TEST()
[all …]
/external/adhd/cras/src/server/
Dcras_ramp.c37 int ramped_frames; member
63 ramp->ramped_frames = 0; in cras_ramp_reset()
98 ramp->ramped_frames = 0; in cras_ramp_start()
109 if (ramp->ramped_frames < 0) { in cras_ramp_get_current_action()
125 ramp->ramped_frames * ramp->increment; in cras_ramp_get_current_action()
131 ramp->ramped_frames * ramp->increment; in cras_ramp_get_current_action()
143 ramp->ramped_frames += num_frames; in cras_ramp_update_ramped_frames()
144 if (ramp->ramped_frames >= ramp->duration_frames) { in cras_ramp_update_ramped_frames()