Skip to content

Commit

Permalink
Bumped live555 version
Browse files Browse the repository at this point in the history
  • Loading branch information
martim01 committed Jun 30, 2023
1 parent 17686ed commit 9f68d46
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
3 changes: 2 additions & 1 deletion external/live/BasicUsageEnvironment/BasicTaskScheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ void BasicTaskScheduler::SingleStep(unsigned maxDelayTime) {
if (mask == 0) mask = 0x80000000;

#ifndef NO_STD_LIB
if (fTriggersAwaitingHandling[i].test()) {
if (fTriggersAwaitingHandling[i].test_and_set()) {
fTriggersAwaitingHandling[i].clear();
#else
if (fTriggersAwaitingHandling[i]) {
Expand All @@ -202,6 +202,7 @@ void BasicTaskScheduler::SingleStep(unsigned maxDelayTime) {
fLastUsedTriggerNum = i;
break;
}
fTriggersAwaitingHandling[i].clear();
} while (i != fLastUsedTriggerNum);
}

Expand Down
6 changes: 4 additions & 2 deletions pambase/PamTaskScheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,7 @@ void PamTaskScheduler::SingleStep(unsigned maxDelayTime) {
if (mask == 0) mask = 0x80000000;

#ifndef NO_STD_LIB
if (fTriggersAwaitingHandling[i].test()) {
fTriggersAwaitingHandling[i].clear();
if (fTriggersAwaitingHandling[i].test_and_set()) {
#else
if (fTriggersAwaitingHandling[i]) {
fTriggersAwaitingHandling[i] = False;
Expand All @@ -204,6 +203,9 @@ void PamTaskScheduler::SingleStep(unsigned maxDelayTime) {
fLastUsedTriggerNum = i;
break;
}
#ifndef NO_STD_LIB
fTriggersAwaitingHandling[i].clear();
#endif // NO_STD_LIB
} while (i != fLastUsedTriggerNum);
}

Expand Down
9 changes: 3 additions & 6 deletions pambase/remoteapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,9 @@ pml::restgoose::response RemoteApi::WavEndpoint(const httpMethod& theMethod, con
return DeleteWav(fn);
}
}
else
{
pml::restgoose::response resp(404);
resp.jsonData["wav"] = fnWanted.GetName().ToStdString();
return resp;
}
pml::restgoose::response resp(404);
resp.jsonData["wav"] = fnWanted.GetName().ToStdString();
return resp;
}

pml::restgoose::response RemoteApi::ExtraEndpoint(const httpMethod& theMethod, const query& theQuery, const std::vector<pml::restgoose::partData>& vData, const endpoint& theEndpoint, const userName& theUser)
Expand Down
4 changes: 2 additions & 2 deletions pambase/wmbutton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,11 @@ void wmButton::Draw(wxDC& dc)
}
if(m_nState != STATE_DISABLED)
{
m_uiRect.Draw(dc, m_uiRect.GetLabel(), m_nBorderState, bmp);
m_uiRect.Draw(dc, m_uiRect.GetLabel(), uiRect::EDGE_ALL, m_nBorderState, bmp);
}
else
{
m_uiRect.Draw(dc, m_uiRect.GetLabel(), uiRect::BORDER_FLAT, bmp);
m_uiRect.Draw(dc, m_uiRect.GetLabel(), uiRect::EDGE_ALL, uiRect::BORDER_FLAT, bmp);
}
}

Expand Down

0 comments on commit 9f68d46

Please sign in to comment.