P5js sound, microphone stop doesn't stop the microphone input

I will expect the method stop will stop the microphone from capturing input in p5js, as the documentation states:

Turn the AudioIn off. If the AudioIn is stopped, it cannot getLevel().

But that is not happening, even after calling stop the microphone is still working and capturing audio.

I can’t reproduce your issue. I just updated my example from your other question to include the ability to capture the mic: Recording Experiments - OpenProcessing it uses start/stop to capture/mute. Works for both the FFT and the recording.