Skip to content

Commit

Permalink
Use sequential layout for OfflineTtsConfig in C# (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Feb 1, 2024
1 parent 2e8b321 commit 558f5e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/dotnet/offline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public OfflineTtsModelConfig()
public string Provider;
}

[StructLayout(LayoutKind.Sequential)]
public struct OfflineTtsConfig
{
public OfflineTtsConfig()
Expand Down

0 comments on commit 558f5e3

Please sign in to comment.