Merge pull request #735 from awjackson/fixbuild

Fix Linux build
This commit is contained in:
thor2016 2024-05-29 07:35:46 -04:00 committed by GitHub
commit c919de08b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -80,11 +80,11 @@ extern "C"
static gwavi_t *gwavi = NULL;
static bool recordEnable = false;
static bool recordAudio = true;
static std::atomic<int> vbufHead = 0;
static std::atomic<int> vbufTail = 0;
static std::atomic<int> vbufHead(0);
static std::atomic<int> vbufTail(0);
static constexpr int vbufSize = 1024 * 1024 * 64;
static std::atomic<int> abufHead = 0;
static std::atomic<int> abufTail = 0;
static std::atomic<int> abufHead(0);
static std::atomic<int> abufTail(0);
static constexpr int abufSize = 256 * 1024;
static uint32_t *rawVideoBuf = NULL;
static int16_t *rawAudioBuf = NULL;