MCPcopy Create free account
hub / github.com/PaulStoffregen/Audio / update

Method update

play_queue.cpp:61–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected