diff main/MainWindow.cpp @ 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 a89ca5ccb958
line wrap: on
line diff
--- 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);