pinebuds/services/multimedia/speech/inc/main_classify.h

34 lines
1.0 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 __SPEECH_NOISE_CLASSIFY_H__
#define __SPEECH_NOISE_CLASSIFY_H__
#ifdef __cplusplus
extern "C" {
#endif
struct ClassifyState_;
typedef struct ClassifyState_ ClassifyState;
ClassifyState *classify_create(int sample_rate, int frame_size);
int classify_destroy(ClassifyState *state);
int classify_process(ClassifyState *state, short *inF, int last_classify_res);
#ifdef __cplusplus
}
#endif
#endif