mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,61 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Codec description.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// This description structure allows the plug-in writer to define all functionality required for a user-defined
|
||||
/// codec.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/plugin-api-codec.html#fmod_codec_description">FMOD_CODEC_DESCRIPTION</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 96)]
|
||||
public unsafe partial struct CodecDescription
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public uint ApiVersion;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public byte* Name;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public uint Version;
|
||||
|
||||
[FieldOffset(20)]
|
||||
public int DefaultAsstream;
|
||||
|
||||
[FieldOffset(24)]
|
||||
public TimeUnit TimeUnits;
|
||||
|
||||
[FieldOffset(32)]
|
||||
public CodecOpenCallbackPtr Open;
|
||||
|
||||
[FieldOffset(40)]
|
||||
public CodecCloseCallbackPtr Close;
|
||||
|
||||
[FieldOffset(48)]
|
||||
public CodecReadCallbackPtr Read;
|
||||
|
||||
[FieldOffset(56)]
|
||||
public CodecGetLengthCallbackPtr GetLength;
|
||||
|
||||
[FieldOffset(64)]
|
||||
public CodecSetPositionCallbackPtr SetPosition;
|
||||
|
||||
[FieldOffset(72)]
|
||||
public CodecGetPositionCallbackPtr GetPosition;
|
||||
|
||||
[FieldOffset(80)]
|
||||
public CodecSoundCreateCallbackPtr SoundCreate;
|
||||
|
||||
[FieldOffset(88)]
|
||||
public CodecGetWaveFormatCallbackPtr GetWaveFormat;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue