summaryrefslogtreecommitdiff
path: root/cras/src/tests/iodev_stub.h
blob: dde1b9f4f5aa1a22e8f4387d39208b5bce3ce314 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Copyright 2017 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef IODEV_STUB_H_
#define IODEV_STUB_H_

#include <time.h>

void iodev_stub_reset();

void iodev_stub_frames_queued(cras_iodev* iodev, int ret, timespec ts);

void iodev_stub_valid_frames(cras_iodev* iodev, int ret, timespec ts);

bool iodev_stub_get_drop_time(cras_iodev* iodev, timespec* ts);

#endif  // IODEV_STUB_H_