mirror of
https://github.com/kr15h/ofxPiMapper.git
synced 2026-06-16 12:31:49 +02:00
Make use of the VideoSource::enableAudio flag in the example
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
void ofApp::setup() {
|
||||
ofBackground(0);
|
||||
|
||||
// Enable or disable audio for video sources globally
|
||||
ofx::piMapper::VideoSource::enableAudio = true;
|
||||
|
||||
// Add our CustomSource to list of fbo sources of the piMapper
|
||||
// FBO sources should be added before piMapper.setup() so the
|
||||
// piMapper is able to load the source if it is assigned to
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "ofxPiMapper.h"
|
||||
#include "CustomSource.h"
|
||||
#include "CrossSource.h"
|
||||
#include "VideoSource.h"
|
||||
|
||||
class ofApp : public ofBaseApp {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user