ipa: raspberrypi: Remove atomic variable from Algorithm class

Pause() and Resume() are only called synchronously so paused_ does not
need to be atomic.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
David Plowman 2021-02-08 09:40:35 +00:00 committed by Laurent Pinchart
parent 756fcbaaf2
commit 4625132b90

View file

@ -12,7 +12,6 @@
#include <string>
#include <memory>
#include <map>
#include <atomic>
#include "controller.hpp"
@ -46,7 +45,7 @@ public:
private:
Controller *controller_;
std::atomic<bool> paused_;
bool paused_;
};
// This code is for automatic registration of Front End algorithms with the