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

Method getBuffer

play_queue.cpp:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38int16_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
48void AudioPlayQueue::playBuffer(void)
49{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected