41 lines
No EOL
1.1 KiB
C
41 lines
No EOL
1.1 KiB
C
/***************************************************************************
|
|
*
|
|
* Copyright 2015-2019 BES.
|
|
* All rights reserved. All unpublished rights reserved.
|
|
*
|
|
* No part of this work may be used or reproduced in any form or by any
|
|
* means, or stored in a database or retrieval system, without prior written
|
|
* permission of BES.
|
|
*
|
|
* Use of this work is governed by a license granted by BES.
|
|
* This work contains confidential and proprietary information of
|
|
* BES. which is protected by copyright, trade secret,
|
|
* trademark and other intellectual property rights.
|
|
*
|
|
****************************************************************************/
|
|
#ifndef LPC_PLC_API_H
|
|
#define LPC_PLC_API_H
|
|
|
|
#include <stdint.h>
|
|
|
|
struct LpcPlcState_;
|
|
|
|
typedef struct LpcPlcState_ LpcPlcState;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
LpcPlcState *lpc_plc_create(int32_t sample_rate);
|
|
|
|
void lpc_plc_destroy(LpcPlcState *st);
|
|
|
|
void lpc_plc_save(LpcPlcState *st, int16_t *buf);
|
|
|
|
void lpc_plc_generate(LpcPlcState *st, int16_t *buf, int16_t *encbuf);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif |