Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a backend clip description.

API: engine
Project: Inno.Audio

public Inno.Audio.AudioClipDescriptor.AudioClipDescriptor(Inno.Audio.AudioCodecId codec, Inno.Audio.AudioClipLoadMode loadMode, int channels, int sampleRate, long frameCount, long encodedByteLength)

Parameter codec: Codec protocol used by the artifact.

Parameter loadMode: Required decoded or streamed storage strategy.

Parameter channels: Encoded channel count.

Parameter sampleRate: Encoded sample rate in frames per second.

Parameter frameCount: Total decoded frame count when known.

Parameter encodedByteLength: Encoded artifact length in bytes.

Exception T:System.ArgumentOutOfRangeException: The load mode is undefined or a channel, rate, frame, or byte count is outside its valid range.