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

4 comments on commit 39bd8c7

@lologannus
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks ive been able to completely get ride of the delay

@benedetta-fox
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But this method not working for me... There is still same delay . I did this 0 on both bat & txt . But didn't work for meh .

@lologannus
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But this method not working for me... There is still same delay . I did this 0 on both bat & txt . But didn't work for meh .

try to restart it after that, that's why i did, i've also change some stuffs on VLC but I don't remember what that was

@xofficialgamer
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lologannus please can you search it from youtube something coz i m having problems and i own a good gaming headsets and they are now completely useless ;(

Please sign in to comment.