Display and control your Android device
Do not log EPIPE on close for raw audio
Romain Vimont4eb33054cda3
diff --git a/server/src/main/java/com/genymobile/scrcpy/AudioRawRecorder.java b/server/src/main/java/com/genymobile/scrcpy/AudioRawRecorder.javaindex fdac8b3a..ce33ae85 100644--- a/server/src/main/java/com/genymobile/scrcpy/AudioRawRecorder.java+++ b/server/src/main/java/com/genymobile/scrcpy/AudioRawRecorder.java@@ -51,6 +51,11 @@ public final class AudioRawRecorder implements AsyncProcessor {streamer.writePacket(buffer, bufferInfo);}+ } catch (IOException e) {+ // Broken pipe is expected on close, because the socket is closed by the client+ if (!IO.isBrokenPipe(e)) {+ Ln.e("Audio capture error", e);+ }} finally {capture.stop();}