5#ifndef KRISP_AUDIO_SDK_NC_HPP_
6#define KRISP_AUDIO_SDK_NC_HPP_
30 const char* modelName);
55 const short* pFrameIn,
56 unsigned int frameInSize,
58 unsigned int frameOutSize);
74 const short* pFrameIn,
75 unsigned int frameInSize,
77 unsigned int frameOutSize,
93 const float* pFrameIn,
94 unsigned int frameInSize,
96 unsigned int frameOutSize);
112 const float* pFrameIn,
113 unsigned int frameInSize,
115 unsigned int frameOutSize,
KRISP_AUDIO_API KrispAudioSessionID krispAudioNcCreateSession(KrispAudioSamplingRate inputSampleRate, KrispAudioSamplingRate outputSampleRate, KrispAudioFrameDuration frameDuration, const char *modelName)
This function creates Speech Enhance(Noise Canceler NC) session object.
KRISP_AUDIO_API int krispAudioNcCloseSession(KrispAudioSessionID pSession)
This function releases all data tied to this particular session, closes the given NC session.
KRISP_AUDIO_API int krispAudioNcCleanAmbientNoiseInt16(KrispAudioSessionID pSession, const short *pFrameIn, unsigned int frameInSize, short *pFrameOut, unsigned int frameOutSize)
This function cleans the ambient noise for the given single frame. Works with shorts (int16) with val...
KRISP_AUDIO_API int krispAudioNcCleanAmbientNoiseFloat(KrispAudioSessionID pSession, const float *pFrameIn, unsigned int frameInSize, float *pFrameOut, unsigned int frameOutSize)
This function cleans the ambient noise for the given single frame. Works with floats with values norm...
#define KRISP_AUDIO_API
Definition: krisp-audio-sdk.hpp:29
KrispAudioSamplingRate
Definition: krisp-audio-sdk.hpp:35
void * KrispAudioSessionID
Definition: krisp-audio-sdk.hpp:33
KrispAudioFrameDuration
Definition: krisp-audio-sdk.hpp:45