comparison plugin/plugins/SamplePlayer.cpp @ 788:2fa49f5caac5 tonioni

sample playback problems
author gyorgyf
date Sat, 13 Apr 2013 20:03:40 +0100
parents 1424aa29ae95
children 2d53205f70cd
comparison
equal deleted inserted replaced
787:4faea021b5c1 788:2fa49f5caac5
155 SVDEBUG << "SamplePlayer::instantiate: Host does not provide request_non_rt_thread, not instantiating" << endl; 155 SVDEBUG << "SamplePlayer::instantiate: Host does not provide request_non_rt_thread, not instantiating" << endl;
156 return 0; 156 return 0;
157 } 157 }
158 158
159 SamplePlayer *player = new SamplePlayer(rate); 159 SamplePlayer *player = new SamplePlayer(rate);
160 // std::cerr << "Instantiated sample player " << std::endl;
160 161
161 if (hostDescriptor->request_non_rt_thread(player, workThreadCallback)) { 162 if (hostDescriptor->request_non_rt_thread(player, workThreadCallback)) {
162 SVDEBUG << "SamplePlayer::instantiate: Host rejected request_non_rt_thread call, not instantiating" << endl; 163 SVDEBUG << "SamplePlayer::instantiate: Host rejected request_non_rt_thread call, not instantiating" << endl;
163 delete player; 164 delete player;
164 return 0; 165 return 0;