Skip to content

Commit

Permalink
Fix: AudioClass does not have member 'close', use 'end' instead. (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger authored Jan 2, 2023
1 parent ccfe438 commit 5293cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/SimpleAudioPlayerZero/SimpleAudioPlayerZero.ino
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void loop()

// until the file is not finished
AudioZero.play(myFile);
AudioZero.close();
AudioZero.end();
Serial.println("End of file. Thank you for listening!");
while (true) ;
}

0 comments on commit 5293cef

Please sign in to comment.