Fixed the C api calls and created the TTS project file (#1324)

Co-authored-by: Michael Twohey <mtwohey@americanambulance.com>
This commit is contained in:
Michael Twohey
2024-09-07 08:25:02 -07:00
committed by GitHub
parent 888f74bf3c
commit b409b0a958
6 changed files with 54 additions and 8 deletions

View File

@@ -6,5 +6,13 @@ namespace TTS.Struct
public struct SherpaOnnxOfflineTtsConfig
{
public SherpaOnnxOfflineTtsModelConfig model;
[MarshalAs(UnmanagedType.LPStr)]
public string rule_fsts;
public int max_num_sentences;
[MarshalAs(UnmanagedType.LPStr)]
public string rule_fars;
}
}