summaryrefslogtreecommitdiffstats
path: root/Whisper/API/iContext.h
diff options
context:
space:
mode:
authorKonstantin <const@const.me>2023-01-28 15:18:02 +0100
committerKonstantin <const@const.me>2023-01-28 15:18:02 +0100
commite1e3ac09a97d602a6ea60ff1928de77de81d99a7 (patch)
treedb38b886ef5d93b76aaecfe89de8fc421616646e /Whisper/API/iContext.h
parent214aacaa5c0a685f8be1cbe4fe06f5a1af8ad2d4 (diff)
DLL API for diarize feature
Diffstat (limited to 'Whisper/API/iContext.h')
-rw-r--r--Whisper/API/iContext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Whisper/API/iContext.h b/Whisper/API/iContext.h
index d6ca29c..fc38a53 100644
--- a/Whisper/API/iContext.h
+++ b/Whisper/API/iContext.h
@@ -28,6 +28,8 @@ namespace Whisper
HRESULT __stdcall runCapture( const sFullParams& params, const sCaptureCallbacks& callbacks, const iAudioCapture* reader );
HRESULT __stdcall getResults( eResultFlags flags, iTranscribeResult** pp ) const;
+ // Try to detect speaker by comparing channels of the stereo PCM data
+ HRESULT __stdcall detectSpeaker( const sTimeInterval& time, eSpeakerChannel& result ) const;
HRESULT __stdcall getModel( iModel** pp );