()
| 572 | } |
| 573 | |
| 574 | func (p *playerImpl) returnBufferToPool() { |
| 575 | if p.buf != nil { |
| 576 | buf := p.buf |
| 577 | theBufPool.Put(&buf) |
| 578 | p.buf = nil |
| 579 | } |
| 580 | } |
| 581 | |
| 582 | // TODO: The term 'buffer' is confusing. Name each buffer with good terms. |
| 583 |
no outgoing calls
no test coverage detected