Mercurial > hg > svapp
diff audioio/AudioCallbackPlaySource.cpp @ 435:618d5816b04d cxx11
More type fixes
author | Chris Cannam |
---|---|
date | Tue, 10 Mar 2015 13:22:10 +0000 |
parents | dee4aceb131c |
children | 72c662fe7ea3 |
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.cpp Wed Mar 04 13:53:13 2015 +0000 +++ b/audioio/AudioCallbackPlaySource.cpp Tue Mar 10 13:22:10 2015 +0000 @@ -256,8 +256,8 @@ emit modelReplaced(); } - connect(model, SIGNAL(modelChangedWithin(int, int)), - this, SLOT(modelChangedWithin(int, int))); + connect(model, SIGNAL(modelChangedWithin(sv_frame_t, sv_frame_t)), + this, SLOT(modelChangedWithin(sv_frame_t, sv_frame_t))); #ifdef DEBUG_AUDIO_PLAY_SOURCE cout << "AudioCallbackPlaySource::addModel: awakening thread" << endl; @@ -267,11 +267,11 @@ } void -AudioCallbackPlaySource::modelChangedWithin(int +AudioCallbackPlaySource::modelChangedWithin(sv_frame_t #ifdef DEBUG_AUDIO_PLAY_SOURCE startFrame #endif - , int endFrame) + , sv_frame_t endFrame) { #ifdef DEBUG_AUDIO_PLAY_SOURCE SVDEBUG << "AudioCallbackPlaySource::modelChangedWithin(" << startFrame << "," << endFrame << ")" << endl; @@ -291,8 +291,8 @@ cout << "AudioCallbackPlaySource::removeModel(" << model << ")" << endl; #endif - disconnect(model, SIGNAL(modelChangedWithin(int, int)), - this, SLOT(modelChangedWithin(int, int))); + disconnect(model, SIGNAL(modelChangedWithin(sv_frame_t, sv_frame_t)), + this, SLOT(modelChangedWithin(sv_frame_t, sv_frame_t))); m_models.erase(model);