diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-05-29 17:37:57 -0400 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 11:36:23 -0400 |
commit | e3d561fb842fa9ea986064a9a73001a5889f15d8 (patch) | |
tree | eac6c57ab550d37d5b78a93431d34baa51950fb7 /src/core/core_timing.h | |
parent | 7fd7d05838b88e9dd63a7329e29ea355669a5f18 (diff) |
Audio: Correct buffer release for host timing.
Diffstat (limited to 'src/core/core_timing.h')
-rw-r--r-- | src/core/core_timing.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h index ed5de9b97a..72faaab647 100644 --- a/src/core/core_timing.h +++ b/src/core/core_timing.h @@ -72,6 +72,11 @@ public: this->is_multicore = is_multicore; } + /// Check if it's using host timing. + bool IsHostTiming() const { + return is_multicore; + } + /// Pauses/Unpauses the execution of the timer thread. void Pause(bool is_paused); |