Lines Matching refs:ramp
23 struct cras_ramp *ramp; in TEST() local
28 ramp = cras_ramp_create(); in TEST()
29 action = cras_ramp_get_current_action(ramp); in TEST()
35 cras_ramp_destroy(ramp); in TEST()
42 cras_ramp *ramp; in TEST() local
47 ramp = cras_ramp_create(); in TEST()
48 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
50 action = cras_ramp_get_current_action(ramp); in TEST()
56 cras_ramp_destroy(ramp); in TEST()
65 struct cras_ramp *ramp; in TEST() local
71 ramp = cras_ramp_create(); in TEST()
72 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
74 rc = cras_ramp_update_ramped_frames(ramp, ramped_frames); in TEST()
76 action = cras_ramp_get_current_action(ramp); in TEST()
83 cras_ramp_destroy(ramp); in TEST()
91 struct cras_ramp *ramp; in TEST() local
96 ramp = cras_ramp_create(); in TEST()
97 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
99 rc = cras_ramp_update_ramped_frames(ramp, ramped_frames); in TEST()
101 action = cras_ramp_get_current_action(ramp); in TEST()
108 cras_ramp_destroy(ramp); in TEST()
116 struct cras_ramp *ramp; in TEST() local
124 ramp = cras_ramp_create(); in TEST()
126 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
128 rc = cras_ramp_update_ramped_frames(ramp, ramped_frames); in TEST()
136 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
138 action = cras_ramp_get_current_action(ramp); in TEST()
145 cras_ramp_destroy(ramp); in TEST()
153 struct cras_ramp *ramp; in TEST() local
161 ramp = cras_ramp_create(); in TEST()
163 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
165 rc = cras_ramp_update_ramped_frames(ramp, ramped_frames); in TEST()
173 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
175 action = cras_ramp_get_current_action(ramp); in TEST()
182 cras_ramp_destroy(ramp); in TEST()
189 cras_ramp *ramp; in TEST() local
194 ramp = cras_ramp_create(); in TEST()
195 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
197 action = cras_ramp_get_current_action(ramp); in TEST()
203 cras_ramp_destroy(ramp); in TEST()
212 struct cras_ramp *ramp; in TEST() local
218 ramp = cras_ramp_create(); in TEST()
219 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
221 rc = cras_ramp_update_ramped_frames(ramp, ramped_frames); in TEST()
223 action = cras_ramp_get_current_action(ramp); in TEST()
230 cras_ramp_destroy(ramp); in TEST()
238 struct cras_ramp *ramp; in TEST() local
243 ramp = cras_ramp_create(); in TEST()
244 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
246 rc = cras_ramp_update_ramped_frames(ramp, ramped_frames); in TEST()
248 action = cras_ramp_get_current_action(ramp); in TEST()
255 cras_ramp_destroy(ramp); in TEST()
263 struct cras_ramp *ramp; in TEST() local
271 ramp = cras_ramp_create(); in TEST()
274 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
276 rc = cras_ramp_update_ramped_frames(ramp, ramped_frames); in TEST()
286 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
288 action = cras_ramp_get_current_action(ramp); in TEST()
295 cras_ramp_destroy(ramp); in TEST()
303 struct cras_ramp *ramp; in TEST() local
311 ramp = cras_ramp_create(); in TEST()
314 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
316 rc = cras_ramp_update_ramped_frames(ramp, ramped_frames); in TEST()
326 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL); in TEST()
328 action = cras_ramp_get_current_action(ramp); in TEST()
335 cras_ramp_destroy(ramp); in TEST()
348 struct cras_ramp *ramp; in TEST() local
354 ramp = cras_ramp_create(); in TEST()
355 cras_ramp_start(ramp, ramp_up, duration_frames, ramp_callback, cb_data); in TEST()
357 rc = cras_ramp_update_ramped_frames(ramp, ramped_frames); in TEST()
359 action = cras_ramp_get_current_action(ramp); in TEST()
368 cras_ramp_destroy(ramp); in TEST()
376 struct cras_ramp *ramp; in TEST() local
382 ramp = cras_ramp_create(); in TEST()
383 cras_ramp_start(ramp, ramp_up, duration_frames, ramp_callback, cb_data); in TEST()
385 rc = cras_ramp_update_ramped_frames(ramp, ramped_frames); in TEST()
387 action = cras_ramp_get_current_action(ramp); in TEST()
396 cras_ramp_destroy(ramp); in TEST()