Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LancePutnam/Gamma
/ onAudio
Method
onAudio
examples/source/samplePlayer2.cpp:33–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
}
32
33
void onAudio(AudioIOData& io){
34
while(io()){
35
float s = (player1() + player2()) * 0.5;
36
player1.loop();
37
player2.loop();
38
io.out(0) = io.out(1) = s;
39
}
40
}
41
};
42
43
int main(){
Callers
nothing calls this directly
Calls
1
loop
Method · 0.80
Tested by
no test coverage detected