Skip to content

Commit 7d27582

Browse files
committed
void end
1 parent c923036 commit 7d27582

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/AudioTools/AudioPlayer.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,12 @@ namespace audio_tools {
444444
return result;
445445
}
446446

447+
virtual void end() {
448+
LOGD(LOG_METHOD);
449+
p_out_decoding->end();
450+
meta_out.end();
451+
}
452+
447453
/// Updates the audio info in the related objects
448454
virtual void setAudioInfo(AudioBaseInfo info) {
449455
LOGD(LOG_METHOD);
@@ -458,7 +464,6 @@ namespace audio_tools {
458464
if (p_final_notify != nullptr) p_final_notify->setAudioInfo(info);
459465
};
460466

461-
462467
/// starts / resumes the playing of a matching song
463468
virtual void play() {
464469
LOGD(LOG_METHOD);

0 commit comments

Comments
 (0)