scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Windows7 Audio Noise Fix

Open xlzhen-940218 opened this issue 1 year ago • 1 comments

  • [ ] I have read the FAQ.
  • [ ] I have searched in existing issues.

Environment

  • OS: Windows7
  • scrcpy version:1.12.1
  • installation method: Windows release
  • device model:VMWare Player
  • Android version: 11,12,13

Describe the bug Windows7 Audio Noise.Need edit audio_player.c function sc_audio_player_frame_sink_open

  • .samples = SC_AUDIO_OUTPUT_BUFFER_MS * ctx->sample_rate / 1000,* change to .samples = 2048 or .samples = 1024

xlzhen-940218 avatar Mar 24 '23 13:03 xlzhen-940218

On dev branch: 39544f34b4d63a6cdb91802a9c6136b3d6a6003a

scrcpy --audio-output-buffer=10

See #3793.

rom1v avatar Mar 24 '23 13:03 rom1v