AudioInput
class simplifies the process of recording game audio from Unity.recorder
to receive frames, along with a recording clock
to generate timestamps. There is a corresponding constructor which does not accept a clock
, for recorders that do not use audio timestamps:recorder
to receive frames, along with a recording clock
to generate timestamps. The audio source can optionally be muted once audio has been sent to the recorder, using the mute
flag. There is a corresponding constructor which does not accept a clock
, for recorders that do not use audio timestamps:AudioSource
, make sure that both Bypass Effects
and Bypass Listener Effects
are disabled in the editor. If any is enabled, no audio will be recorded.FinishWriting
on the recorder.