summaryrefslogtreecommitdiff
path: root/common/hotword_dsp_api.c
blob: 24291df8c0290763e038e4bef06dbb6dca15426c (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
25
26
27
28
29
30
31
32
33
34
35
/*
 * Copyright 2019 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "audio_codec.h"
#include "hotword_dsp_api.h"

const int kGoogleHotwordRequiredDataAlignment = 4;

int GoogleHotwordDspInit(void *hotword_memmap)
{
	return 1;
}

int GoogleHotwordDspProcess(const void *samples, int num_samples,
			    int *preamble_length_ms)
{
	return 0;
}

void GoogleHotwordDspReset(void)
{
}

int GoogleHotwordDspGetMaximumAudioPreambleMs(void)
{
	return 0;
}

int GoogleHotwordVersion(void)
{
	return 0;
}