기술 자료

Unity Engine

Unity Engine

Configure(GeneratorInstance, in AudioFormat)

Manually reconfigure this GeneratorInstance with the given.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

Configure(GeneratorInstance, AudioFormat)

public void Configure(GeneratorInstance generatorInstance, in AudioFormat format)

Parameters

generatorInstance


Remarks

This method can only be called on nested GeneratorInstances (created by your code, not root processors) and only during system-wide reconfiguration when ControlContext.IsSystemWideReconfiguring is true.
During system-wide reconfiguration (e.g., when the sample rate changes), the realtime audio thread is suspended, making it safe to reconfigure nested processors. Calling this method at any other time will throw an exception.