We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4da8b9a + 943df1e commit 3f85572Copy full SHA for 3f85572
1 file changed
examples/sound/soundBufferExample/src/ofApp.cpp
@@ -24,7 +24,7 @@ void ofApp::update(){
24
// "lastBuffer" is shared between update() and audioOut(), which are called
25
// on two different threads. This lock makes sure we don't use lastBuffer
26
// from both threads simultaneously (see the corresponding lock in audioOut())
27
- unique_lock<mutex> lock(audioMutex);
+ std::unique_lock<std::mutex> lock(audioMutex);
28
29
// this loop is building up a polyline representing the audio contained in
30
// the left channel of the buffer
@@ -92,7 +92,7 @@ void ofApp::audioOut(ofSoundBuffer &outBuffer) {
92
pulsePhase += pulsePhaseStep;
93
}
94
95
96
lastBuffer = outBuffer;
97
98
0 commit comments