File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44#include < climits>
55#include < csignal>
66#include < cstdint>
7+ #include < cstring>
78#include < atomic>
89#include < filesystem>
910#include < memory>
@@ -843,7 +844,7 @@ class LoopingFilePlayer
843844 if (fragment.size != 0 )
844845 {
845846 auto dst = reinterpret_cast <std::uint8_t *>(fragment.pointer ) + (chan * payloadBuffersSlices.stride );
846- ::memset (dst, 0 , fragment.size); // fill with silence
847+ std ::memset (dst, 0 , fragment.size ); // fill with silence
847848 }
848849 }
849850 }
Original file line number Diff line number Diff line change 33
44#include < csignal>
55#include < cstdint>
6+ #include < cstring>
67#include < fstream>
78#include < sstream>
89#include < stdexcept>
@@ -686,7 +687,7 @@ namespace
686687 if (fragment.size != 0 )
687688 {
688689 auto const dst = static_cast <std::uint8_t *>(fragment.pointer ) + (chan * payloadBuffersSlices.stride );
689- ::memset (dst, 0 , fragment.size); // fill with silence
690+ std ::memset (dst, 0 , fragment.size ); // fill with silence
690691 }
691692 }
692693 }
You can’t perform that action at this time.
0 commit comments