Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
103.03k stars 10.01k forks source link

No audio #4869

Closed lorefield closed 3 weeks ago

lorefield commented 3 weeks ago

Environment

Describe the bug After starting scrcpy device audio mutes (as expected), but does not play on the Linux system. PulseAudio does show scrcpy as audio source*, but not as muted.

scrcpy 2.4 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)  R52N613EDEZ                     device  SM_T510
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 14.2 MB/s (69007 bytes in 0.005s)
[server] INFO: Device: [samsung] samsung SM-T510 (Android 11)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6.0 NVIDIA 525.147.05
INFO: Trilinear filtering enabled
INFO: Texture: 1920x1200
lorefield commented 3 weeks ago

Well, dang.. update time already: turns out it was the device audio volume. Turn the device volume down (e.g. muted) while connected with scrcpy, then the next time you connect with scrcpy that volume gets applied again.