Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Ddev_io.c381 struct timespec hw_tstamp; in capture_to_streams() local
389 rc = cras_iodev_frames_queued(idev, &hw_tstamp); in capture_to_streams()
397 hw_tstamp.tv_sec, hw_tstamp.tv_nsec); in capture_to_streams()
398 if (timespec_is_nonzero(&hw_tstamp)) { in capture_to_streams()
405 if (cras_iodev_update_rate(idev, hw_level, &hw_tstamp)) in capture_to_streams()
616 struct timespec hw_tstamp; in write_output_samples() local
637 rc = cras_iodev_frames_queued(odev, &hw_tstamp); in write_output_samples()
643 hw_tstamp.tv_sec, hw_tstamp.tv_nsec); in write_output_samples()
644 if (timespec_is_nonzero(&hw_tstamp)) { in write_output_samples()
652 if (cras_iodev_update_rate(odev, hw_level, &hw_tstamp)) in write_output_samples()
Dcras_iodev.c56 struct timespec hw_tstamp; in default_no_stream_playback() local
59 rc = cras_iodev_frames_queued(odev, &hw_tstamp); in default_no_stream_playback()
70 rc = cras_iodev_frames_queued(odev, &hw_tstamp); in default_no_stream_playback()
1207 struct timespec *hw_tstamp) in cras_iodev_frames_queued() argument
1211 rc = iodev->frames_queued(iodev, hw_tstamp); in cras_iodev_frames_queued()
1312 struct timespec *hw_tstamp) in cras_iodev_frames_to_play_in_sleep() argument
1314 int rc = cras_iodev_frames_queued(odev, hw_tstamp); in cras_iodev_frames_to_play_in_sleep()
Dcras_loopback_iodev.c126 struct timespec *hw_tstamp) in frames_queued() argument
150 *hw_tstamp = loopdev->last_filled; in frames_queued()
Dcras_iodev.h637 struct timespec *hw_tstamp);
Dcras_alsa_io.c1758 struct timespec hw_tstamp; in adjust_appl_ptr_samples_remaining() local
1764 rc = odev->frames_queued(odev, &hw_tstamp); in adjust_appl_ptr_samples_remaining()
1813 struct timespec hw_tstamp; in possibly_enter_free_run() local
1821 rc = odev->frames_queued(odev, &hw_tstamp); in possibly_enter_free_run()
/external/adhd/cras/src/tests/
Diodev_stub.cc136 struct timespec *hw_tstamp) in cras_iodev_frames_to_play_in_sleep() argument
138 clock_gettime(CLOCK_MONOTONIC_RAW, hw_tstamp); in cras_iodev_frames_to_play_in_sleep()
Diodev_unittest.cc1043 struct timespec hw_tstamp; in TEST() local
1054 rc = cras_iodev_frames_queued(&iodev, &hw_tstamp); in TEST()
1061 rc = cras_iodev_frames_queued(&iodev, &hw_tstamp); in TEST()
1924 struct timespec hw_tstamp; in TEST() local
1945 &iodev, &got_hw_level, &hw_tstamp); in TEST()
1954 &iodev, &got_hw_level, &hw_tstamp); in TEST()
1963 &iodev, &got_hw_level, &hw_tstamp); in TEST()
1972 &iodev, &got_hw_level, &hw_tstamp); in TEST()
1983 &iodev, &got_hw_level, &hw_tstamp); in TEST()
Daudio_thread_unittest.cc1108 struct timespec *hw_tstamp) in cras_iodev_frames_to_play_in_sleep() argument
1110 *hw_level = cras_iodev_frames_queued(odev, hw_tstamp); in cras_iodev_frames_to_play_in_sleep()
Dalsa_io_unittest.cc2061 struct timespec hw_tstamp; in TEST_F() local
2069 rc = aio.base.frames_queued(&aio.base, &hw_tstamp); in TEST_F()