Synced
AudioClipDescriptor.Constructor
Section titled “AudioClipDescriptor.Constructor”
- Creates a backend clip description.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Audio
Declaration
Section titled “Declaration”public Inno.Audio.AudioClipDescriptor.AudioClipDescriptor(Inno.Audio.AudioCodecId codec, Inno.Audio.AudioClipLoadMode loadMode, int channels, int sampleRate, long frameCount, long encodedByteLength)Parameters
Section titled “Parameters”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.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentOutOfRangeException: The load mode is undefined or a channel, rate, frame, or byte count is outside its valid range.