changeset 558:206d65e2b69a 3.0-integration

Remove unused signal
author Chris Cannam
date Mon, 12 Dec 2016 17:15:24 +0000
parents 7759c2dca846
children 7b115a6505b8
files audio/AudioCallbackPlaySource.cpp audio/AudioCallbackPlaySource.h
diffstat 2 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/audio/AudioCallbackPlaySource.cpp	Mon Dec 12 17:08:10 2016 +0000
+++ b/audio/AudioCallbackPlaySource.cpp	Mon Dec 12 17:15:24 2016 +0000
@@ -266,13 +266,9 @@
     }
 
 #ifdef DEBUG_AUDIO_PLAY_SOURCE
-    cout << "AudioCallbackPlaySource::addModel: now have " << m_models.size() << " model(s) -- emitting modelReplaced" << endl;
+    cout << "AudioCallbackPlaySource::addModel: now have " << m_models.size() << " model(s)" << endl;
 #endif
 
-    if (buffersChanged || srChanged) {
-	emit modelReplaced();
-    }
-
     connect(model, SIGNAL(modelChangedWithin(sv_frame_t, sv_frame_t)),
             this, SLOT(modelChangedWithin(sv_frame_t, sv_frame_t)));
 
--- a/audio/AudioCallbackPlaySource.h	Mon Dec 12 17:08:10 2016 +0000
+++ b/audio/AudioCallbackPlaySource.h	Mon Dec 12 17:15:24 2016 +0000
@@ -287,8 +287,6 @@
     std::string getClientName() const { return m_clientName; }
 
 signals:
-    void modelReplaced();
-
     void playStatusChanged(bool isPlaying);
 
     void sampleRateMismatch(sv_samplerate_t requested,