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

Method play

play_memory.cpp:31–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30
31void AudioPlayMemory::play(const unsigned int *data)
32{
33 uint32_t format;
34
35 playing = 0;
36 prior = 0;
37 format = *data++;
38 next = data;
39 beginning = data;
40 length = format & 0xFFFFFF;
41 playing = format >> 24;
42}
43
44void AudioPlayMemory::stop(void)
45{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected