| 59 | } |
| 60 | |
| 61 | void AudioPlayQueue::update(void) |
| 62 | { |
| 63 | audio_block_t *block; |
| 64 | uint32_t t; |
| 65 | |
| 66 | t = tail; |
| 67 | if (t != head) { |
| 68 | if (++t >= 32) t = 0; |
| 69 | block = queue[t]; |
| 70 | tail = t; |
| 71 | transmit(block); |
| 72 | release(block); |
| 73 | } |
| 74 | } |
| 75 |
nothing calls this directly
no outgoing calls
no test coverage detected