phone-mic-0.1.1 is not a library.
phone-mic
Use your phone as a microphone via scrcpy. System tray app written in Rust.
Dependencies
scrcpy— streams audio from your phonepulseaudio-utils— providesparecandpactladb— Android Debug Bridge
Installation
After cloning the repo, run:
cargo install --path .
Left-click the tray icon to toggle. Right-click for Quit.
Auto-start with systemd
# Generate the unit file into the user systemd folder
# Enable and start the service
# Check logs
# Update after rebuilding
How it works
- Creates a PulseAudio pipe source via
pactl load-module module-pipe-source - Runs
parecto create a recording stream from that source - Runs
scrcpy --audio-source=micto capture phone mic audio and pipe it in - The audio source appears in PulseAudio as "Scrcpy" — use it as any other input