diff 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
line wrap: on
line diff
--- a/examples/basic_network/render.cpp	Fri May 27 18:12:15 2016 +0100
+++ b/examples/basic_network/render.cpp	Fri May 27 18:21:21 2016 +0100
@@ -56,7 +56,7 @@
 		float in;
 		int ret = receive.getSamplesSrc(&in, 1, 1);
 		for(unsigned int channel = 0; channel < context->audioChannels; channel++){
-			audioWriteFrame(context, n, channel, in);
+			audioWrite(context, n, channel, in);
 		}
 	}
 }