Skip to content

Commit

Permalink
Completely disable network caching
Browse files Browse the repository at this point in the history
Do not add an unnecessary delay of 50ms.
  • Loading branch information
rom1v committed Jun 16, 2020
1 parent dd76c6f commit 39bd8c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sndcpy
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion sndcpy.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 39bd8c7

Please sign in to comment.