mirror of
https://github.com/mozilla/DeepSpeech.git
synced 2025-10-26 11:19:39 +00:00
23 lines
579 B
C#
23 lines
579 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace DeepSpeechClient.Structs
|
|
{
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
internal unsafe struct MetadataItem
|
|
{
|
|
/// <summary>
|
|
/// Native character.
|
|
/// </summary>
|
|
internal unsafe IntPtr character;
|
|
/// <summary>
|
|
/// Position of the character in units of 20ms.
|
|
/// </summary>
|
|
internal unsafe int timestep;
|
|
/// <summary>
|
|
/// Position of the character in seconds.
|
|
/// </summary>
|
|
internal unsafe float start_time;
|
|
}
|
|
}
|