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 | 78a23536d40d4fb48da74442093f6968bd3e0d0f (patch) | |
| tree | eac6c57ab550d37d5b78a93431d34baa51950fb7 /src/core/core_timing.h | |
| parent | 24e0d393e298a6384ccb7cd8e2848abea62cb61f (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); |
