Fix Microphone IsCapturingCondition (#6490)

This commit is contained in:
Remy van Elst 2024-04-07 04:48:42 +02:00 committed by GitHub
parent 2c67d83976
commit 38233444e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ class DataTrigger : public Trigger<const std::vector<int16_t> &> {
} }
}; };
template<typename... Ts> class IsCapturingActon : public Condition<Ts...>, public Parented<Microphone> { template<typename... Ts> class IsCapturingCondition : public Condition<Ts...>, public Parented<Microphone> {
public: public:
bool check(Ts... x) override { return this->parent_->is_running(); } bool check(Ts... x) override { return this->parent_->is_running(); }
}; };