ITADN

Audio does not work

#6862OpenFossilizedTreeResin 创建于 2026-05-24
## Environment OS: Void linux Scrcpy version: 4.0_1 Installation method: OS's package manager Device model: Xiaomi Redmi Note 14 4G Android version: 16 ## Describe the bug What it says on the tin. Trying to use `--audio-codec=aac` did not fix the issue. `scrcpy -Vverbose` output: ``` scrcpy 4.0 <https://github.com/Genymobile/scrcpy> INFO: ADB device found: INFO: --> (tcpip) [censored] device 24117RN76O DEBUG: Device serial: [censored] DEBUG: Using server: /usr/share/scrcpy/scrcpy-server /usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 168.5 MB/s (732226 bytes in 0.004s) [server] INFO: Device: [Xiaomi] Redmi 24117RN76O (Android 16) DEBUG: Server connected DEBUG: Starting controller thread DEBUG: Starting receiver thread INFO: Renderer: opengl INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 26.0.6 INFO: Trilinear filtering enabled DEBUG: Using icon: /usr/share/icons/hicolor/256x256/apps/scrcpy.png DEBUG: Demuxer 'video': starting thread DEBUG: Demuxer 'audio': starting thread [server] DEBUG: Using audio encoder: 'c2.android.opus.encoder' [server] DEBUG: Using video encoder: 'c2.mtk.avc.encoder' [server] DEBUG: Video codec size alignment requirement: 2px [server] DEBUG: Display: using DisplayManager API [server] VERBOSE: DisplayMonitor: onDisplayConfigurationChanged(9) INFO: Texture: 1080x2400 VERBOSE: [Audio] Buffering: target=2400 avg=2476.799561 cur=2400 compensation=0 (underflow=0) VERBOSE: [Audio] Buffering: target=2400 avg=2497.059082 cur=2383 compensation=0 (underflow=0) VERBOSE: [Audio] Buffering: target=2400 avg=2507.722168 cur=2383 compensation=0 (underflow=0) VERBOSE: [Audio] Buffering: target=2400 avg=2514.979736 cur=2383 compensation=0 (underflow=0) VERBOSE: [Audio] Buffering: target=2400 avg=2528.159424 cur=2383 compensation=0 (underflow=0) VERBOSE: [Audio] Buffering: target=2400 avg=2537.044189 cur=2863 compensation=0 (underflow=0) VERBOSE: [Audio] Buffering: target=2400 avg=2557.914795 cur=2863 compensation=0 (underflow=0) VERBOSE: [Audio] Buffering: target=2400 avg=2543.741943 cur=2383 compensation=0 (underflow=0) VERBOSE: [Audio] Buffering: target=2400 avg=2528.941162 cur=2383 compensation=0 (underflow=0) DEBUG: User requested to quit DEBUG: Quit... DEBUG: Controller stopped DEBUG: Demuxer 'audio': end of frames DEBUG: Receiver stopped DEBUG: Demuxer 'video': end of frames [server] DEBUG: Controller stopped [server] DEBUG: Device message sender stopped [server] DEBUG: Screen streaming stopped [server] DEBUG: Audio encoder stopped DEBUG: Server disconnected DEBUG: Server terminated ``` `pactl info` output: ``` Server String: /run/user/1000/pulse/native Library Protocol Version: 35 Server Protocol Version: 35 Is Local: yes Client Index: 1526 Tile Size: 65472 User Name: void Host Name: void Server Name: PulseAudio (on PipeWire 1.6.4) Server Version: 15.0.0 Default Sample Specification: float32le 2ch 48000Hz Default Channel Map: front-left,front-right Default Sink: alsa_output.pci-0000_00_1f.3.pro-output-0 Default Source: alsa_input.pci-0000_00_1f.3.pro-input-0 Cookie: 443a:de2d ``` adb logcat output: [https://pastebin.com/7e1eYMcv](https://pastebin.com/7e1eYMcv)
0 条评论