Skip to content

Commit

Permalink
rename reset() to clearSamples()
Browse files Browse the repository at this point in the history
  • Loading branch information
newdigate committed Dec 16, 2023
1 parent 10dc90d commit 98ef91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flashloader.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ namespace newdigate {
audiosample * loadAudioPlayMemorySample(const char *filename );

// free all existing samples
void reset() {
void clearSamples() {
AudioNoInterrupts();
for (auto && sample : _samples){
extmem_free(sample->sampledata);
Expand Down

0 comments on commit 98ef91b

Please sign in to comment.