Returns whether a Microphone Test is recording


See also Voice functions.

Signature:

isRecording = VoiceChat_IsRecordingLoopbackSound()

Returns:

  • isRecording - 1 if the player is recording a voice sample, otherwise 0 (number)

Examples:

-- Print a message indicating your recording status
local insertString = ""
if VoiceChat_IsRecordingLoopbackSound() == 0 then
  insertString = "not "
end
DEFAULT_CHAT_FRAME:AddMessage("You are "..insertString.."currently recording a sound sample.")