# HG changeset patch # User Chris Cannam # Date 1172751308 0 # Node ID e554ab9a4408fcc9d13a387041a485494126f12f # Parent e2baee498ec892b95908c5eb8f6178ac836eb7bb * Make audio file reader factory try for a reader based on the file's extension, before trying all readers * Remove some debug output diff -r e2baee498ec8 -r e554ab9a4408 view/Pane.cpp --- a/view/Pane.cpp Thu Mar 01 11:55:46 2007 +0000 +++ b/view/Pane.cpp Thu Mar 01 12:15:08 2007 +0000 @@ -1615,8 +1615,8 @@ void Pane::zoomLevelChanged() { - std::cerr << "Pane[" << this << "]::zoomLevelChanged (global now " - << (m_manager ? m_manager->getGlobalZoom() : 0) << ")" << std::endl; +// std::cerr << "Pane[" << this << "]::zoomLevelChanged (global now " +// << (m_manager ? m_manager->getGlobalZoom() : 0) << ")" << std::endl; if (m_manager && m_manager->getZoomWheelsEnabled()) { updateHeadsUpDisplay(); diff -r e2baee498ec8 -r e554ab9a4408 widgets/AudioDial.cpp --- a/widgets/AudioDial.cpp Thu Mar 01 11:55:46 2007 +0000 +++ b/widgets/AudioDial.cpp Thu Mar 01 12:15:08 2007 +0000 @@ -66,7 +66,7 @@ #define AUDIO_DIAL_RANGE (AUDIO_DIAL_MAX - AUDIO_DIAL_MIN) -static int dialsExtant = 0; +//static int dialsExtant = 0; // Constructor. @@ -82,7 +82,7 @@ { m_mouseDial = false; m_mousePressed = false; - ++dialsExtant; +// ++dialsExtant; } @@ -90,13 +90,13 @@ AudioDial::~AudioDial (void) { delete m_rangeMapper; - --dialsExtant; +// --dialsExtant; } void AudioDial::setRangeMapper(RangeMapper *mapper) { - std::cerr << "AudioDial[" << this << "][\"" << objectName().toStdString() << "\"::setRangeMapper(" << mapper << ") [current is " << m_rangeMapper << "] (have " << dialsExtant << " dials extant)" << std::endl; +// std::cerr << "AudioDial[" << this << "][\"" << objectName().toStdString() << "\"::setRangeMapper(" << mapper << ") [current is " << m_rangeMapper << "] (have " << dialsExtant << " dials extant)" << std::endl; if (m_rangeMapper == mapper) return;