pulseaudio can't record on LineageOS 20 / Android 13?
So, I have a Xiaomi Smart Clock running LineageOS 20 (Android 13) that I'm trying to get Wyoming in Termux (https://github.com/T-vK/wyoming-satellite-termux/tree/main) running on.
I am able to get everything installed and running ... but it seems like the mic isn't getting any input.
If I use
I granted mic permission to Termux:API and the fact that the mic works with
I am seeing the green microphone icon in the status bar when I run
If I run pulseaudio with the following command line
The only notable thing in the output of
I am able to get everything installed and running ... but it seems like the mic isn't getting any input.
If I use
termux-microphone-record I'm able to record audio and play it back with termux-media-player but when I try to use sox (via rec) or parecord , the output file is exclusively 0x00 data. This is even if I run pactl load-module module-sles-source immediately before.I granted mic permission to Termux:API and the fact that the mic works with
termux-microphone-record makes me think this isn't an Android permissions issue.I am seeing the green microphone icon in the status bar when I run
rec or parecord but still getting 0x00 output in files.If I run pulseaudio with the following command line
pulseaudio -L module-sles-source -D --log-level=4 --log-target=file:/data/data/com.termux/files/home/pa.log --log-time=0 and then run rec yay.wav I see the attached in the log which doesn't show any obvious issue.The only notable thing in the output of
rec is that the time increments much much much slower than wall time (e.g. it takes more than 5 seconds to record 5 seconds of audio)message.txt4.17KB
GitHub
A set of scripts allowing you to run wyoming-satellite on Android with Termux - T-vK/wyoming-satellite-termux