| 109 | } |
| 110 | |
| 111 | void MultichannelOutputApp::draw() |
| 112 | { |
| 113 | gl::clear(); |
| 114 | |
| 115 | // Draw the Scope's recorded Buffer, all channels as separate line arrays. |
| 116 | if( mMonitor && mMonitor->isEnabled() ) { |
| 117 | Rectf scopeRect( 10, 10, (float)getWindowWidth() - 10, (float)getWindowHeight() - 10 ); |
| 118 | drawAudioBuffer( mMonitor->getBuffer(), scopeRect, true ); |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | CINDER_APP( MultichannelOutputApp, RendererGl( RendererGl::Options().msaa( 8 ) ) ) |
nothing calls this directly
no test coverage detected