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

Method available

record_queue.cpp:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30
31int AudioRecordQueue::available(void)
32{
33 uint32_t h, t;
34
35 h = head;
36 t = tail;
37 if (h >= t) return h - t;
38 return 53 + h - t;
39}
40
41void AudioRecordQueue::clear(void)
42{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected