Mercurial > hg > svapp
comparison framework/MainWindowBase.cpp @ 130:4c9c04645685
* Reduce time stretcher to one channel when overload occurs
author | Chris Cannam |
---|---|
date | Mon, 07 Jul 2008 16:49:53 +0000 |
parents | df5f16b3c925 |
children | 3b61a975b47e |
comparison
equal
deleted
inserted
replaced
129:df5f16b3c925 | 130:4c9c04645685 |
---|---|
175 | 175 |
176 connect(m_playSource, SIGNAL(sampleRateMismatch(size_t, size_t, bool)), | 176 connect(m_playSource, SIGNAL(sampleRateMismatch(size_t, size_t, bool)), |
177 this, SLOT(sampleRateMismatch(size_t, size_t, bool))); | 177 this, SLOT(sampleRateMismatch(size_t, size_t, bool))); |
178 connect(m_playSource, SIGNAL(audioOverloadPluginDisabled()), | 178 connect(m_playSource, SIGNAL(audioOverloadPluginDisabled()), |
179 this, SLOT(audioOverloadPluginDisabled())); | 179 this, SLOT(audioOverloadPluginDisabled())); |
180 connect(m_playSource, SIGNAL(audioTimeStretchMultiChannelDisabled()), | |
181 this, SLOT(audioTimeStretchMultiChannelDisabled())); | |
180 | 182 |
181 connect(m_viewManager, SIGNAL(outputLevelsChanged(float, float)), | 183 connect(m_viewManager, SIGNAL(outputLevelsChanged(float, float)), |
182 this, SLOT(outputLevelsChanged(float, float))); | 184 this, SLOT(outputLevelsChanged(float, float))); |
183 | 185 |
184 connect(m_viewManager, SIGNAL(playbackFrameChanged(unsigned long)), | 186 connect(m_viewManager, SIGNAL(playbackFrameChanged(unsigned long)), |
2136 } | 2138 } |
2137 | 2139 |
2138 void | 2140 void |
2139 MainWindowBase::viewCentreFrameChanged(View *v, unsigned long frame) | 2141 MainWindowBase::viewCentreFrameChanged(View *v, unsigned long frame) |
2140 { | 2142 { |
2141 std::cerr << "MainWindowBase::viewCentreFrameChanged(" << v << "," << frame << ")" << std::endl; | 2143 // std::cerr << "MainWindowBase::viewCentreFrameChanged(" << v << "," << frame << ")" << std::endl; |
2142 | 2144 |
2143 if (m_viewDataDialogMap.find(v) != m_viewDataDialogMap.end()) { | 2145 if (m_viewDataDialogMap.find(v) != m_viewDataDialogMap.end()) { |
2144 for (DataDialogSet::iterator i = m_viewDataDialogMap[v].begin(); | 2146 for (DataDialogSet::iterator i = m_viewDataDialogMap[v].begin(); |
2145 i != m_viewDataDialogMap[v].end(); ++i) { | 2147 i != m_viewDataDialogMap[v].end(); ++i) { |
2146 (*i)->userScrolledToFrame(frame); | 2148 (*i)->userScrolledToFrame(frame); |