aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_timing.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-05-29 17:37:57 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 11:36:23 -0400
commite3d561fb842fa9ea986064a9a73001a5889f15d8 (patch)
treeeac6c57ab550d37d5b78a93431d34baa51950fb7 /src/core/core_timing.h
parent7fd7d05838b88e9dd63a7329e29ea355669a5f18 (diff)
Audio: Correct buffer release for host timing.
Diffstat (limited to 'src/core/core_timing.h')
-rw-r--r--src/core/core_timing.h5
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);