Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Ddev_stream.c677 int needed_frames_from_device; in get_input_wake_time() local
679 needed_frames_from_device = dev_stream_capture_avail(dev_stream); in get_input_wake_time()
695 if (!is_cap_limit_stream && needed_frames_from_device > cap_limit) in get_input_wake_time()
730 if (curr_level >= needed_frames_from_device) in get_input_wake_time()
731 needed_frames_from_device = 0; in get_input_wake_time()
733 needed_frames_from_device -= curr_level; in get_input_wake_time()
735 cras_frames_to_time(needed_frames_from_device, dev_stream->dev_rate, in get_input_wake_time()
/external/adhd/cras/src/tests/
Ddev_stream_unittest.cc947 int needed_frames_from_device = 0; in TEST_F() local
973 needed_frames_from_device = in TEST_F()
975 needed_frames_from_device -= curr_level; in TEST_F()
976 cras_frames_to_time(needed_frames_from_device, 48000, in TEST_F()