comparison examples/basic_network/render.cpp @ 314:611306d840b3 prerelease

Merge
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 27 May 2016 19:00:43 +0100
parents 1feb9c23ac57
children db2fe4e1b88e
comparison
equal deleted inserted replaced
313:c770cdf3d8b2 314:611306d840b3
54 54
55 networkSend.log(out); 55 networkSend.log(out);
56 float in; 56 float in;
57 int ret = receive.getSamplesSrc(&in, 1, 1); 57 int ret = receive.getSamplesSrc(&in, 1, 1);
58 for(unsigned int channel = 0; channel < context->audioChannels; channel++){ 58 for(unsigned int channel = 0; channel < context->audioChannels; channel++){
59 audioWriteFrame(context, n, channel, in); 59 audioWrite(context, n, channel, in);
60 } 60 }
61 } 61 }
62 } 62 }
63 63
64 // cleanup() is called once at the end, after the audio has stopped. 64 // cleanup() is called once at the end, after the audio has stopped.