Searched refs:hw_tstamp (Results 1 – 9 of 9) sorted by relevance
/external/adhd/cras/src/server/ |
D | dev_io.c | 381 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()
|
D | cras_iodev.c | 56 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()
|
D | cras_loopback_iodev.c | 126 struct timespec *hw_tstamp) in frames_queued() argument 150 *hw_tstamp = loopdev->last_filled; in frames_queued()
|
D | cras_iodev.h | 637 struct timespec *hw_tstamp);
|
D | cras_alsa_io.c | 1758 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/ |
D | iodev_stub.cc | 136 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()
|
D | iodev_unittest.cc | 1043 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()
|
D | audio_thread_unittest.cc | 1108 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()
|
D | alsa_io_unittest.cc | 2061 struct timespec hw_tstamp; in TEST_F() local 2069 rc = aio.base.frames_queued(&aio.base, &hw_tstamp); in TEST_F()
|