summaryrefslogtreecommitdiff
path: root/cras/src/tests/empty_audio_stub.cc
blob: 00ede69ff72a29031d2c98bbb80f8f336eddff33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* Copyright 2018 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.
 */

extern "C" {
#include "polled_interval_checker.h"

struct polled_interval* pic_polled_interval_create(int interval_sec) {
  return NULL;
}

int pic_interval_elapsed(const struct polled_interval* interval) {
  return 0;
}

void pic_interval_reset(struct polled_interval* interval) {}

void pic_polled_interval_destroy(struct polled_interval** interval) {}

void pic_update_current_time() {}

void cras_non_empty_audio_send_msg(int non_empty) {}
}