Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/nes
/ sendSample
Method
sendSample
nes/apu.go:116–122 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
114
}
115
116
func
(apu *APU) sendSample() {
117
output := apu.filterChain.Step(apu.output())
118
select
{
119
case
apu.channel <- output:
120
default:
121
}
122
}
123
124
func
(apu *APU) output() float32 {
125
p1 := apu.pulse1.output()
Callers
1
Step
Method · 0.95
Calls
2
output
Method · 0.95
Step
Method · 0.65
Tested by
no test coverage detected