1 /* Copyright 2017 The Chromium OS Authors. All rights reserved. 2 * Use of this source code is governed by a BSD-style license that can be 3 * found in the LICENSE file. 4 */ 5 6 #ifndef IODEV_STUB_H_ 7 #define IODEV_STUB_H_ 8 9 #include <time.h> 10 11 void iodev_stub_reset(); 12 13 void iodev_stub_est_rate_ratio(cras_iodev* iodev, double ratio); 14 15 void iodev_stub_update_rate(cras_iodev* iodev, int data); 16 17 void iodev_stub_on_internal_card(cras_ionode* node, int data); 18 19 void iodev_stub_frames_queued(cras_iodev* iodev, int ret, timespec ts); 20 21 void iodev_stub_valid_frames(cras_iodev* iodev, int ret, timespec ts); 22 23 bool iodev_stub_get_drop_time(cras_iodev* iodev, timespec* ts); 24 25 #endif // IODEV_STUB_H_ 26