Mercurial > hg > svcore
comparison plugin/plugins/SamplePlayer.cpp @ 911:73c2fd9a7dbe
Merge from branch tony_integration
author | Chris Cannam |
---|---|
date | Wed, 14 May 2014 09:54:20 +0100 |
parents | 2d53205f70cd |
children | b14064bd1f97 |
comparison
equal
deleted
inserted
replaced
907:a589d2201a0c | 911:73c2fd9a7dbe |
---|---|
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; |