diff examples/04-Audio/oscillator-bank/render.cpp @ 544:cdabbaf3a252 prerelease

Updated Audio examples for audioOutChannels etc.
author Robert Jack <robert.h.jack@gmail.com>
date Fri, 24 Jun 2016 13:32:07 +0100
parents 1cec96845a23
children
line wrap: on
line diff
--- a/examples/04-Audio/oscillator-bank/render.cpp	Fri Jun 24 13:19:52 2016 +0100
+++ b/examples/04-Audio/oscillator-bank/render.cpp	Fri Jun 24 13:32:07 2016 +0100
@@ -77,7 +77,7 @@
 {
 	srandom(time(NULL));
 
-	if(context->audioChannels != 2) {
+	if(context->audioOutChannels != 2) {
 		rt_printf("Error: this example needs stereo audio enabled\n");
 		return false;
 	}