N noeleon Active Member Licensed User Longtime User Jun 11, 2020 #1 How do I mute the microphone so that it can't be used by sound recorder apps? The examples I've seen so far all mute the mic during phone calls which is not what I want.
How do I mute the microphone so that it can't be used by sound recorder apps? The examples I've seen so far all mute the mic during phone calls which is not what I want.
Erel B4X founder Staff member Licensed User Longtime User Jun 11, 2020 #2 The microphone cannot be muted. You cannot prevent other apps from capturing audio. Upvote 0
N noeleon Active Member Licensed User Longtime User Jun 11, 2020 #3 There are mic blocking apps on playstore. They all have high battery usage so I think they run a service that keeps on "stealing ownership" of the microphone to divert audio input. Or maybe they overwrite the input stream with silence (is that even possible?) because those apps actually work. When I use voice recorder, the vu meter stays flat and there's nothing but silence in the output file. Last edited: Jun 11, 2020 Upvote 0
There are mic blocking apps on playstore. They all have high battery usage so I think they run a service that keeps on "stealing ownership" of the microphone to divert audio input. Or maybe they overwrite the input stream with silence (is that even possible?) because those apps actually work. When I use voice recorder, the vu meter stays flat and there's nothing but silence in the output file.
Erel B4X founder Staff member Licensed User Longtime User Jun 12, 2020 #4 You can play with the audio focus: https://www.b4x.com/android/forum/threads/audiofocus.53295/#post-334224 Upvote 0
You can play with the audio focus: https://www.b4x.com/android/forum/threads/audiofocus.53295/#post-334224