Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/sanear.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/DspRate.cpp')
-rw-r--r--src/DspRate.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/DspRate.cpp b/src/DspRate.cpp
index b062bbf..dc778fe 100644
--- a/src/DspRate.cpp
+++ b/src/DspRate.cpp
@@ -24,6 +24,11 @@ namespace SaneAudioRenderer
}
}
+ bool DspRate::Active()
+ {
+ return !!m_soxr;
+ }
+
void DspRate::Process(DspChunk& chunk)
{
if (m_soxr && !chunk.IsEmpty())