diff options
| author | Konstantin <const@const.me> | 2023-01-28 15:18:02 +0100 |
|---|---|---|
| committer | Konstantin <const@const.me> | 2023-01-28 15:18:02 +0100 |
| commit | e1e3ac09a97d602a6ea60ff1928de77de81d99a7 (patch) | |
| tree | db38b886ef5d93b76aaecfe89de8fc421616646e /WhisperNet/API | |
| parent | 214aacaa5c0a685f8be1cbe4fe06f5a1af8ad2d4 (diff) | |
DLL API for diarize feature
Diffstat (limited to 'WhisperNet/API')
| -rw-r--r-- | WhisperNet/API/eSpeakerChannel.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/WhisperNet/API/eSpeakerChannel.cs b/WhisperNet/API/eSpeakerChannel.cs new file mode 100644 index 0000000..edb96e0 --- /dev/null +++ b/WhisperNet/API/eSpeakerChannel.cs @@ -0,0 +1,15 @@ +namespace Whisper +{ + /// <summary>Output value for iContext.detectSpeaker method</summary> + public enum eSpeakerChannel: byte + { + /// <summary>Unable to detect</summary> + Unsure = 0, + /// <summary>The speech was mostly in the left channel</summary> + Left = 1, + /// <summary>The speech was mostly in the right channel</summary> + Right = 2, + /// <summary>The audio only has 1 channel</summary> + NoStereoData = 0xFF, + } +}
\ No newline at end of file |
