LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

Microphone.End

Switch to Manual
public static void End(string deviceName);

Parameters

deviceNameThe name of the device.

Description

Stops recording.

If you pass a null or empty string for the device name then the default microphone will be used. You can get a list of available microphone devices from the devices property.