Microphone add is_stopped (#5183)

This commit is contained in:
Jesse Hills 2023-08-02 16:21:30 +12:00 committed by GitHub
parent 8c66de2391
commit e02aaedc42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ class Microphone {
}
bool is_running() const { return this->state_ == STATE_RUNNING; }
bool is_stopped() const { return this->state_ == STATE_STOPPED; }
protected:
State state_{STATE_STOPPED};