bug fix: re-added a check (output!=0) which had been removed by revision 51.

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@67 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Raphael Coeffic 20 years ago
parent bf4764ff09
commit 4869df8451

@ -260,7 +260,7 @@ void AmSessionSchedulerThread::processAudio(unsigned int ts)
s->lockAudio();
AmAudio* output = s->getOutput();
if(s->rtp_str.sendIntReached()){
if(output && s->rtp_str.sendIntReached()){
int size = output->get(ts,buffer,s->rtp_str.getFrameSize());
if(size <= 0){

Loading…
Cancel
Save