()
| 425 | } |
| 426 | |
| 427 | func (p *Pulse) stepTimer() { |
| 428 | if p.timerValue == 0 { |
| 429 | p.timerValue = p.timerPeriod |
| 430 | p.dutyValue = (p.dutyValue + 1) % 8 |
| 431 | } else { |
| 432 | p.timerValue-- |
| 433 | } |
| 434 | } |
| 435 | |
| 436 | func (p *Pulse) stepEnvelope() { |
| 437 | if p.envelopeStart { |
nothing calls this directly
no outgoing calls
no test coverage detected