C# API for speaker diarization (#1407)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
/// Copyright (c) 2024 Xiaomi Corporation
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace SherpaOnnx
|
||||
{
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct OfflineSpeakerSegmentationPyannoteModelConfig
|
||||
{
|
||||
public OfflineSpeakerSegmentationPyannoteModelConfig()
|
||||
{
|
||||
Model = "";
|
||||
}
|
||||
|
||||
[MarshalAs(UnmanagedType.LPStr)]
|
||||
public string Model;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user