mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
61 lines
1.6 KiB
C#
61 lines
1.6 KiB
C#
// <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;
|
|
}
|
|
}
|