comparison examples/basic_network/render.cpp @ 308:1feb9c23ac57 prerelease

Renamed read/write functions to remove the Frame --> e.g. analogWriteFrameOnce -> analogWriteOnce, digitalReadFrame -> digitalRead
author andrewm
date Fri, 27 May 2016 18:21:21 +0100
parents e4392164b458
children db2fe4e1b88e
comparison
equal deleted inserted replaced
307:ff5f346a293e 308:1feb9c23ac57
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.