/external/adhd/cras/src/server/ |
D | cras_iodev.c | 77 struct timespec hw_tstamp; in default_no_stream_playback() local 80 rc = cras_iodev_frames_queued(odev, &hw_tstamp); in default_no_stream_playback() 91 rc = cras_iodev_frames_queued(odev, &hw_tstamp); in default_no_stream_playback() 767 struct timespec *hw_tstamp) in cras_iodev_get_valid_frames() argument 775 rc = odev->get_valid_frames(odev, hw_tstamp); in cras_iodev_get_valid_frames() 784 return cras_iodev_frames_queued(odev, hw_tstamp); in cras_iodev_get_valid_frames() 1295 struct timespec *hw_tstamp) in cras_iodev_frames_queued() argument 1299 rc = iodev->frames_queued(iodev, hw_tstamp); in cras_iodev_frames_queued() 1387 struct timespec *hw_tstamp) in cras_iodev_default_frames_to_play_in_sleep() argument 1389 int rc = cras_iodev_frames_queued(odev, hw_tstamp); in cras_iodev_default_frames_to_play_in_sleep() [all …]
|
D | dev_io.c | 517 struct timespec hw_tstamp; in capture_to_streams() local 525 rc = cras_iodev_frames_queued(idev, &hw_tstamp); in capture_to_streams() 533 hw_tstamp.tv_sec, hw_tstamp.tv_nsec); in capture_to_streams() 534 if (timespec_is_nonzero(&hw_tstamp)) { in capture_to_streams() 549 !!cras_iodev_update_rate(idev, hw_level, &hw_tstamp); in capture_to_streams() 774 struct timespec hw_tstamp; in write_output_samples() local 795 rc = cras_iodev_frames_queued(odev, &hw_tstamp); in write_output_samples() 801 hw_tstamp.tv_sec, hw_tstamp.tv_nsec); in write_output_samples() 802 if (timespec_is_nonzero(&hw_tstamp)) { in write_output_samples() 810 if (cras_iodev_update_rate(odev, hw_level, &hw_tstamp)) in write_output_samples() [all …]
|
D | cras_iodev.h | 278 struct timespec *hw_tstamp); 676 struct timespec *hw_tstamp); 688 struct timespec *hw_tstamp); 758 struct timespec *hw_tstamp);
|
D | cras_bt_io.c | 447 struct timespec *hw_tstamp) in frames_to_play_in_sleep() argument 452 iodev, hw_level, hw_tstamp); in frames_to_play_in_sleep() 454 return dev->frames_to_play_in_sleep(dev, hw_level, hw_tstamp); in frames_to_play_in_sleep() 458 struct timespec *hw_tstamp) in get_valid_frames() argument 465 return dev->get_valid_frames(dev, hw_tstamp); in get_valid_frames() 467 return cras_iodev_frames_queued(iodev, hw_tstamp); in get_valid_frames()
|
D | cras_hfp_alsa_iodev.c | 36 struct timespec *hw_tstamp) in hfp_alsa_get_valid_frames() argument 41 return aio->get_valid_frames(aio, hw_tstamp); in hfp_alsa_get_valid_frames()
|
D | cras_loopback_iodev.c | 139 struct timespec *hw_tstamp) in frames_queued() argument 162 clock_gettime(CLOCK_MONOTONIC_RAW, hw_tstamp); in frames_queued()
|
D | cras_hfp_iodev.c | 73 struct timespec hw_tstamp; in no_stream() local 80 hw_level = iodev->frames_queued(iodev, &hw_tstamp); in no_stream()
|
D | cras_a2dp_iodev.c | 374 struct timespec *hw_tstamp) in frames_to_play_in_sleep() argument 379 *hw_level = frames_queued(iodev, hw_tstamp); in frames_to_play_in_sleep()
|
D | cras_alsa_io.c | 1849 struct timespec hw_tstamp; in adjust_appl_ptr_samples_remaining() local 1855 rc = odev->frames_queued(odev, &hw_tstamp); in adjust_appl_ptr_samples_remaining() 1899 struct timespec hw_tstamp; in possibly_enter_free_run() local 1907 rc = odev->frames_queued(odev, &hw_tstamp); in possibly_enter_free_run()
|
/external/adhd/cras/src/tests/ |
D | iodev_stub.cc | 200 struct timespec* hw_tstamp) { in cras_iodev_frames_to_play_in_sleep() argument 201 clock_gettime(CLOCK_MONOTONIC_RAW, hw_tstamp); in cras_iodev_frames_to_play_in_sleep()
|
D | bt_io_unittest.cc | 478 struct timespec* hw_tstamp) { in cras_iodev_frames_queued() argument 485 struct timespec* hw_tstamp) { in cras_iodev_default_frames_to_play_in_sleep() argument
|
D | iodev_unittest.cc | 1029 struct timespec hw_tstamp; in TEST() local 1040 rc = cras_iodev_frames_queued(&iodev, &hw_tstamp); in TEST() 1047 rc = cras_iodev_frames_queued(&iodev, &hw_tstamp); in TEST() 2042 struct timespec hw_tstamp; in TEST() local 2071 cras_iodev_frames_to_play_in_sleep(&iodev, &got_hw_level, &hw_tstamp); in TEST() 2081 cras_iodev_frames_to_play_in_sleep(&iodev, &got_hw_level, &hw_tstamp); in TEST() 2090 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() 2110 cras_iodev_frames_to_play_in_sleep(&iodev, &got_hw_level, &hw_tstamp); in TEST()
|
D | audio_thread_unittest.cc | 1339 struct timespec* hw_tstamp) { in cras_iodev_frames_to_play_in_sleep() argument 1340 *hw_level = cras_iodev_frames_queued(odev, hw_tstamp); in cras_iodev_frames_to_play_in_sleep() 1370 struct timespec* hw_tstamp) { in cras_iodev_get_valid_frames() argument 1371 clock_gettime(CLOCK_MONOTONIC_RAW, hw_tstamp); in cras_iodev_get_valid_frames()
|
D | alsa_io_unittest.cc | 2106 struct timespec hw_tstamp; in TEST_F() local 2113 rc = aio.base.frames_queued(&aio.base, &hw_tstamp); in TEST_F()
|