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:
2
sndcpy
2
sndcpy
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user