MCPcopy Create free account
hub / github.com/SmingHub/Sming / read

Method read

samples/Basic_Audio/app/application.cpp:78–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77
78 uint16_t read()
79 {
80 uint16_t value = samples[readPos++];
81 if(readPos == sampleCount) {
82 readPos = 0;
83 }
84 return value;
85 }
86};
87
88SineWaveTable sineWaveTable;

Callers 6

printPartFunction · 0.45
readFileFunction · 0.45
readFunction · 0.45
onDataMethod · 0.45
loopListenFunction · 0.45
writeSineFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected