Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Stop()

Exits audio recording mode. After this audio output will be audible again.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public static bool Stop()

Returns

Type

Description

boolReturns
true
if the engine was recording when this method is called. Returns
false
if the engine wasn't recording, in which case Unity logs an error.

Remarks

This returns audio rendering to the audio thread, which AudioRenderer.Start moves onto the main thread.