toggle

fun toggle()

Toggles recording on/off.