XCORE SDK
XCORE Software Development Kit
modules
voice
modules
lib_ns
api
ns_api.h
1
// Copyright 2022 XMOS LIMITED.
2
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
3
4
#ifndef NS_API_H
5
#define NS_API_H
6
7
#include "ns_state.h"
8
37
void
ns_init
(
ns_state_t
* ns);
38
39
63
void
ns_process_frame
(
ns_state_t
* ns,
64
int32_t output [
NS_FRAME_ADVANCE
],
65
const
int32_t input[
NS_FRAME_ADVANCE
]);
66
67
68
#endif
NS_FRAME_ADVANCE
#define NS_FRAME_ADVANCE
Length of the frame of data on which the NS will operate.
Definition:
ns_state.h:25
ns_process_frame
void ns_process_frame(ns_state_t *ns, int32_t output[NS_FRAME_ADVANCE], const int32_t input[NS_FRAME_ADVANCE])
Perform NS processing on a frame of input data.
ns_init
void ns_init(ns_state_t *ns)
Initialise the NS.
ns_state_t
NS state structure.
Definition:
ns_state.h:62
Generated by
1.9.1