Mercurial > hg > svgui
comparison view/ViewManager.cpp @ 1181:e0ac21f07ab0 bqresample
Fixes to sample rate and latency handling
author | Chris Cannam |
---|---|
date | Fri, 09 Dec 2016 14:40:49 +0000 |
parents | f2c63ec85901 |
children | f32828ea63d9 |
comparison
equal
deleted
inserted
replaced
1173:db90fee630bc | 1181:e0ac21f07ab0 |
---|---|
487 } | 487 } |
488 return 0; | 488 return 0; |
489 } | 489 } |
490 | 490 |
491 sv_samplerate_t | 491 sv_samplerate_t |
492 ViewManager::getOutputSampleRate() const | 492 ViewManager::getDeviceSampleRate() const |
493 { | 493 { |
494 if (m_playSource) { | 494 if (m_playSource) { |
495 return m_playSource->getTargetSampleRate(); | 495 return m_playSource->getDeviceSampleRate(); |
496 } | 496 } |
497 return 0; | 497 return 0; |
498 } | 498 } |
499 | 499 |
500 void | 500 void |