diff examples/basic_passthru/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
line wrap: on
line diff
--- a/examples/basic_passthru/render.cpp	Fri May 27 18:55:34 2016 +0100
+++ b/examples/basic_passthru/render.cpp	Fri May 27 19:00:43 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));
 		}
 	}
 }