When I try to record audio, following this here , and using the appropriate source code from here in the project (voicerecorder .audio ), I encounter the problem that the recording stops at startup times, as well as playback. the recorded file is 46 bytes, and playback takes less than a second, basically, the stream goes directly to the next statement. If I try to sleep, it will not help. What can I do to save it in recording mode or in playback mode until the user interrupts?
source
share