diff examples/10-Instruments/oscillator-bank/render.cpp @ 543:8f8809c77dda prerelease

updated basics, digital, instruments, extras examples
author chnrx <chris.heinrichs@gmail.com>
date Fri, 24 Jun 2016 13:19:52 +0100
parents b935f890e512
children
line wrap: on
line diff
--- a/examples/10-Instruments/oscillator-bank/render.cpp	Fri Jun 24 13:00:31 2016 +0100
+++ b/examples/10-Instruments/oscillator-bank/render.cpp	Fri Jun 24 13:19:52 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;
 	}