diff examples/basic_passthru/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_passthru/render.cpp	Fri May 27 18:12:15 2016 +0100
+++ b/examples/basic_passthru/render.cpp	Fri May 27 18:21:21 2016 +0100
@@ -42,7 +42,7 @@
 			// 		context->audioIn[n * context->audioChannels + ch];
 
 			// Or using the macros:
-			audioWriteFrame(context, n, ch, audioReadFrame(context, n, ch));
+			audioWrite(context, n, ch, audioRead(context, n, ch));
 		}
 	}
 
@@ -55,7 +55,7 @@
 			// context->analogOut[n * context->analogChannels + ch] = context->analogIn[n * context->analogChannels + ch];
 
 			// Or using the macros:
-			analogWriteFrame(context, n, ch, analogReadFrame(context, n, ch));
+			analogWrite(context, n, ch, analogRead(context, n, ch));
 		}
 	}
 }