Home
last modified time | relevance | path

Searched refs:hw_tstamp (Results 1 – 14 of 14) sorted by relevance

/external/adhd/cras/src/server/
Dcras_iodev.c77 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 …]
Ddev_io.c517 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 …]
Dcras_iodev.h278 struct timespec *hw_tstamp);
676 struct timespec *hw_tstamp);
688 struct timespec *hw_tstamp);
758 struct timespec *hw_tstamp);
Dcras_bt_io.c447 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()
Dcras_hfp_alsa_iodev.c36 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()
Dcras_loopback_iodev.c139 struct timespec *hw_tstamp) in frames_queued() argument
162 clock_gettime(CLOCK_MONOTONIC_RAW, hw_tstamp); in frames_queued()
Dcras_hfp_iodev.c73 struct timespec hw_tstamp; in no_stream() local
80 hw_level = iodev->frames_queued(iodev, &hw_tstamp); in no_stream()
Dcras_a2dp_iodev.c374 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()
Dcras_alsa_io.c1849 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/
Diodev_stub.cc200 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()
Dbt_io_unittest.cc478 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
Diodev_unittest.cc1029 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()
Daudio_thread_unittest.cc1339 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()
Dalsa_io_unittest.cc2106 struct timespec hw_tstamp; in TEST_F() local
2113 rc = aio.base.frames_queued(&aio.base, &hw_tstamp); in TEST_F()