1
0
mirror of https://github.com/rom1v/sndcpy.git synced 2025-02-18 21:43:34 +03:00

Completely disable network caching

Do not add an unnecessary delay of 50ms.
This commit is contained in:
Romain Vimont
2020-06-16 12:41:21 +02:00
parent dd76c6f438
commit 39bd8c7448
2 changed files with 2 additions and 2 deletions

2
sndcpy
View File

@@ -26,4 +26,4 @@ fi
"$ADB" $serial shell am start com.rom1v.sndcpy/.MainActivity
echo "Press Enter once audio capture is authorized on the device to start playing..."
read dummy
"$VLC" -Idummy --demux rawaud --network-caching=50 --play-and-exit tcp://localhost:"$SNDCPY_PORT"
"$VLC" -Idummy --demux rawaud --network-caching=0 --play-and-exit tcp://localhost:"$SNDCPY_PORT"

View File

@@ -22,7 +22,7 @@ if not "%1"=="" (
echo Press Enter once audio capture is authorized on the device to start playing...
pause >nul
echo Playing audio...
%VLC% -Idummy --demux rawaud --network-caching=50 --play-and-exit tcp://localhost:%SNDCPY_PORT%
%VLC% -Idummy --demux rawaud --network-caching=0 --play-and-exit tcp://localhost:%SNDCPY_PORT%
goto :EOF
:error