/external/adhd/cras/src/server/ |
D | dev_io.c | 450 struct timespec hw_tstamp; in capture_to_streams() local 458 rc = cras_iodev_frames_queued(idev, &hw_tstamp); in capture_to_streams() 466 hw_tstamp.tv_sec, hw_tstamp.tv_nsec); in capture_to_streams() 467 if (timespec_is_nonzero(&hw_tstamp)) { in capture_to_streams() 474 if (cras_iodev_update_rate(idev, hw_level, &hw_tstamp)) in capture_to_streams() 695 struct timespec hw_tstamp; in write_output_samples() local 716 rc = cras_iodev_frames_queued(odev, &hw_tstamp); in write_output_samples() 722 hw_tstamp.tv_sec, hw_tstamp.tv_nsec); in write_output_samples() 723 if (timespec_is_nonzero(&hw_tstamp)) { in write_output_samples() 731 if (cras_iodev_update_rate(odev, hw_level, &hw_tstamp)) in write_output_samples() [all …]
|
D | cras_iodev.c | 74 struct timespec hw_tstamp; in default_no_stream_playback() local 77 rc = cras_iodev_frames_queued(odev, &hw_tstamp); in default_no_stream_playback() 88 rc = cras_iodev_frames_queued(odev, &hw_tstamp); in default_no_stream_playback() 735 struct timespec *hw_tstamp) in cras_iodev_get_valid_frames() argument 743 rc = odev->get_valid_frames(odev, hw_tstamp); in cras_iodev_get_valid_frames() 752 return cras_iodev_frames_queued(odev, hw_tstamp); in cras_iodev_get_valid_frames() 1241 struct timespec *hw_tstamp) in cras_iodev_frames_queued() argument 1245 rc = iodev->frames_queued(iodev, hw_tstamp); in cras_iodev_frames_queued() 1331 struct timespec *hw_tstamp) in cras_iodev_frames_to_play_in_sleep() argument 1333 int rc = cras_iodev_frames_queued(odev, hw_tstamp); in cras_iodev_frames_to_play_in_sleep() [all …]
|
D | cras_iodev.h | 676 struct timespec *hw_tstamp); 746 struct timespec *hw_tstamp);
|
D | cras_loopback_iodev.c | 126 struct timespec *hw_tstamp) in frames_queued() argument 149 clock_gettime(CLOCK_MONOTONIC_RAW, hw_tstamp); in frames_queued()
|
D | cras_hfp_iodev.c | 76 struct timespec hw_tstamp; in no_stream() local 83 hw_level = iodev->frames_queued(iodev, &hw_tstamp); in no_stream()
|
D | cras_alsa_io.c | 1741 struct timespec hw_tstamp; in adjust_appl_ptr_samples_remaining() local 1747 rc = odev->frames_queued(odev, &hw_tstamp); in adjust_appl_ptr_samples_remaining() 1795 struct timespec hw_tstamp; in possibly_enter_free_run() local 1803 rc = odev->frames_queued(odev, &hw_tstamp); in possibly_enter_free_run()
|
/external/adhd/cras/src/tests/ |
D | iodev_stub.cc | 172 struct timespec* hw_tstamp) { in cras_iodev_frames_to_play_in_sleep() argument 173 clock_gettime(CLOCK_MONOTONIC_RAW, hw_tstamp); in cras_iodev_frames_to_play_in_sleep()
|
D | iodev_unittest.cc | 1025 struct timespec hw_tstamp; in TEST() local 1036 rc = cras_iodev_frames_queued(&iodev, &hw_tstamp); in TEST() 1043 rc = cras_iodev_frames_queued(&iodev, &hw_tstamp); in TEST() 2031 struct timespec hw_tstamp; in TEST() local 2060 cras_iodev_frames_to_play_in_sleep(&iodev, &got_hw_level, &hw_tstamp); in TEST() 2070 cras_iodev_frames_to_play_in_sleep(&iodev, &got_hw_level, &hw_tstamp); in TEST() 2079 cras_iodev_frames_to_play_in_sleep(&iodev, &got_hw_level, &hw_tstamp); in TEST() 2088 cras_iodev_frames_to_play_in_sleep(&iodev, &got_hw_level, &hw_tstamp); in TEST() 2099 cras_iodev_frames_to_play_in_sleep(&iodev, &got_hw_level, &hw_tstamp); in TEST()
|
D | a2dp_iodev_unittest.cc | 565 struct timespec* hw_tstamp) { in cras_iodev_frames_queued() argument 568 rc = iodev->frames_queued(iodev, hw_tstamp); in cras_iodev_frames_queued()
|
D | audio_thread_unittest.cc | 1331 struct timespec* hw_tstamp) { in cras_iodev_frames_to_play_in_sleep() argument 1332 *hw_level = cras_iodev_frames_queued(odev, hw_tstamp); in cras_iodev_frames_to_play_in_sleep() 1362 struct timespec* hw_tstamp) { in cras_iodev_get_valid_frames() argument 1363 clock_gettime(CLOCK_MONOTONIC_RAW, hw_tstamp); in cras_iodev_get_valid_frames()
|
D | alsa_io_unittest.cc | 2035 struct timespec hw_tstamp; in TEST_F() local 2042 rc = aio.base.frames_queued(&aio.base, &hw_tstamp); in TEST_F()
|