Mercurial > hg > svapp
diff audio/AudioCallbackPlaySource.cpp @ 687:e0b0f3e163ca by-id
Update for removal of (public) getId from Model
author | Chris Cannam |
---|---|
date | Fri, 05 Jul 2019 15:35:11 +0100 |
parents | 161063152ddd |
children | ce698f8d0831 |
line wrap: on
line diff
--- a/audio/AudioCallbackPlaySource.cpp Thu Jul 04 18:04:59 2019 +0100 +++ b/audio/AudioCallbackPlaySource.cpp Fri Jul 05 15:35:11 2019 +0100 @@ -100,8 +100,8 @@ m_viewManager, SLOT(playStatusChanged(bool))); connect(PlayParameterRepository::getInstance(), - SIGNAL(playParametersChanged(PlayParameters *)), - this, SLOT(playParametersChanged(PlayParameters *))); + SIGNAL(playParametersChanged(int)), + this, SLOT(playParametersChanged(int))); connect(Preferences::getInstance(), SIGNAL(propertyChanged(PropertyContainer::PropertyName)), @@ -294,8 +294,8 @@ SVDEBUG << "AudioCallbackPlaySource::addModel: now have " << m_models.size() << " model(s)" << endl; #endif - connect(model.get(), SIGNAL(modelChangedWithin(sv_frame_t, sv_frame_t)), - this, SLOT(modelChangedWithin(sv_frame_t, sv_frame_t))); + connect(model.get(), SIGNAL(modelChangedWithin(ModelId, sv_frame_t, sv_frame_t)), + this, SLOT(modelChangedWithin(ModelId, sv_frame_t, sv_frame_t))); #ifdef DEBUG_AUDIO_PLAY_SOURCE cout << "AudioCallbackPlaySource::addModel: awakening thread" << endl; @@ -305,7 +305,7 @@ } void -AudioCallbackPlaySource::modelChangedWithin(sv_frame_t +AudioCallbackPlaySource::modelChangedWithin(ModelId, sv_frame_t #ifdef DEBUG_AUDIO_PLAY_SOURCE startFrame #endif @@ -332,8 +332,8 @@ cout << "AudioCallbackPlaySource::removeModel(" << modelId << ")" << endl; #endif - disconnect(model.get(), SIGNAL(modelChangedWithin(sv_frame_t, sv_frame_t)), - this, SLOT(modelChangedWithin(sv_frame_t, sv_frame_t))); + disconnect(model.get(), SIGNAL(modelChangedWithin(ModelId, sv_frame_t, sv_frame_t)), + this, SLOT(modelChangedWithin(ModelId, sv_frame_t, sv_frame_t))); m_models.erase(modelId); @@ -576,13 +576,13 @@ } void -AudioCallbackPlaySource::playParametersChanged(PlayParameters *) +AudioCallbackPlaySource::playParametersChanged(int) { clearRingBuffers(); } void -AudioCallbackPlaySource::preferenceChanged(PropertyContainer::PropertyName ) +AudioCallbackPlaySource::preferenceChanged(PropertyContainer::PropertyName) { }