MCPcopy
hub / github.com/fogleman/nes / APU

Struct APU

nes/apu.go:46–60  ·  view source on GitHub ↗

APU

Source from the content-addressed store, hash-verified

44// APU
45
46type APU struct {
47 console *Console
48 channel chan float32
49 sampleRate float64
50 pulse1 Pulse
51 pulse2 Pulse
52 triangle Triangle
53 noise Noise
54 dmc DMC
55 cycle uint64
56 framePeriod byte
57 frameValue byte
58 frameIRQ bool
59 filterChain FilterChain
60}
61
62func NewAPU(console *Console) *APU {
63 apu := APU{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected