| 122 | } |
| 123 | |
| 124 | void JinglePlayer::preload_buffer() { |
| 125 | int cont = provide(_preload_blocks); |
| 126 | |
| 127 | if (_preload_blocks - cont > 0) cont += provide(_preload_blocks - cont); |
| 128 | |
| 129 | Serial.print("preload blocks: "); |
| 130 | Serial.println(cont); |
| 131 | } |
| 132 | |
| 133 | int JinglePlayer::provide(int n) { |
| 134 | if (!_available) return 0; |
nothing calls this directly
no outgoing calls
no test coverage detected