MCPcopy
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
116func (apu *APU) sendSample() {
117 output := apu.filterChain.Step(apu.output())
118 select {
119 case apu.channel <- output:
120 default:
121 }
122}
123
124func (apu *APU) output() float32 {
125 p1 := apu.pulse1.output()

Callers 1

StepMethod · 0.95

Calls 2

outputMethod · 0.95
StepMethod · 0.65

Tested by

no test coverage detected