| 36 | } |
| 37 | |
| 38 | int16_t * AudioPlayQueue::getBuffer(void) |
| 39 | { |
| 40 | if (userblock) return userblock->data; |
| 41 | while (1) { |
| 42 | userblock = allocate(); |
| 43 | if (userblock) return userblock->data; |
| 44 | yield(); |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | void AudioPlayQueue::playBuffer(void) |
| 49 | { |
nothing calls this directly
no outgoing calls
no test coverage detected