comparison examples/basic/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
53 53
54 // The long way, using the buffers directly: 54 // The long way, using the buffers directly:
55 // context->audioOut[n * context->audioChannels + channel] = out; 55 // context->audioOut[n * context->audioChannels + channel] = out;
56 56
57 // Or using the macros: 57 // Or using the macros:
58 audioWriteFrame(context, n, channel, out); 58 audioWrite(context, n, channel, out);
59 } 59 }
60 } 60 }
61 } 61 }
62 62
63 // cleanup() is called once at the end, after the audio has stopped. 63 // cleanup() is called once at the end, after the audio has stopped.