Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Ddev_io.c450 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 …]
Dcras_iodev.c74 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 …]
Dcras_iodev.h676 struct timespec *hw_tstamp);
746 struct timespec *hw_tstamp);
Dcras_loopback_iodev.c126 struct timespec *hw_tstamp) in frames_queued() argument
149 clock_gettime(CLOCK_MONOTONIC_RAW, hw_tstamp); in frames_queued()
Dcras_hfp_iodev.c76 struct timespec hw_tstamp; in no_stream() local
83 hw_level = iodev->frames_queued(iodev, &hw_tstamp); in no_stream()
Dcras_alsa_io.c1741 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/
Diodev_stub.cc172 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()
Diodev_unittest.cc1025 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()
Da2dp_iodev_unittest.cc565 struct timespec* hw_tstamp) { in cras_iodev_frames_queued() argument
568 rc = iodev->frames_queued(iodev, hw_tstamp); in cras_iodev_frames_queued()
Daudio_thread_unittest.cc1331 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()
Dalsa_io_unittest.cc2035 struct timespec hw_tstamp; in TEST_F() local
2042 rc = aio.base.frames_queued(&aio.base, &hw_tstamp); in TEST_F()