changeset 1405:f78da49ef8e0 bqresample

Fixes to sample rate and latency handling
author Chris Cannam
date Fri, 09 Dec 2016 14:40:49 +0000
parents 0886d3f1095d
children 026c1e7f3359
files .hgsubstate main/MainWindow.cpp
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Fri Dec 09 13:46:34 2016 +0000
+++ b/.hgsubstate	Fri Dec 09 14:40:49 2016 +0000
@@ -1,13 +1,13 @@
-bea4af4794a20ad953b5d48dbabf343199619593 bqaudioio
+3b535d512726e9b5243a6620bacdb0f9b7661ff9 bqaudioio
 048fd8ba184040d217f33a9ea3cbdc5676a2876f bqfft
-38b19a496226c17ac013c8d9a44570fb7766b88a bqresample
+1735a488ded2bbd0f1a60cd33c4c26b3672e49a2 bqresample
 bce0791a62fe3dac4717a1a90aa03dc5cea7ccb4 bqvec
 1eefc20919cd080b684b2bbbc0af7270b8facb54 checker
 3768bdde6fdf866aa63fff5bde8d9fa64a8979ef dataquay
 c37b5598a4beb570417716e30aa649c78312169f icons/scalable
 3257ddb6fff110cc88f3ffeaeefa0f29d5eb3b6f piper-cpp
 5f67a29f0fc7f1b908f7cde4866173a7af337862 sv-dependency-builds
-8c11ca1ebc39327a9d58ce7f40916fc564bf891b svapp
-983667969a82e28d6d1a3d45491915e5b05a9f32 svcore
-db90fee630bc756c3c64a6f904b551acb13e000f svgui
+2a1e9e017484ec0bf336bc22effc24c47b0e7ade svapp
+ca43c4b7719c2e0bbf6b9af47a4fa48c26754fff svcore
+e0ac21f07ab02388c50ff2ad40da73b27ce9ae87 svgui
 0eebd22a081a824067bf3d5de65326696feab653 vamp-plugin-sdk
--- a/main/MainWindow.cpp	Fri Dec 09 13:46:34 2016 +0000
+++ b/main/MainWindow.cpp	Fri Dec 09 14:40:49 2016 +0000
@@ -2408,7 +2408,7 @@
     
     sv_samplerate_t ssr = getMainModel()->getSampleRate();
     sv_samplerate_t tsr = ssr;
-    if (m_playSource) tsr = m_playSource->getTargetSampleRate();
+    if (m_playSource) tsr = m_playSource->getDeviceSampleRate();
 
     if (ssr != tsr) {
 	description = tr("%1Hz (resampling to %2Hz)").arg(ssr).arg(tsr);