File tree Expand file tree Collapse file tree 1 file changed +1
-27
lines changed Expand file tree Collapse file tree 1 file changed +1
-27
lines changed Original file line number Diff line number Diff line change @@ -464,33 +464,7 @@ namespace audio_tools {
464464 }
465465
466466 // / (Re)Starts the playing of the music (from the beginning)
467- virtual bool begin (bool isActive = true ) {
468- LOGD (LOG_METHOD);
469- bool result = false ;
470-
471- // start dependent objects
472- p_out_decoding->begin ();
473- p_source->begin ();
474- meta_out.begin ();
475-
476- p_input_stream = p_source->nextStream (1 );
477- if (p_input_stream != nullptr ) {
478- if (meta_active) {
479- copier.setCallbackOnWrite (decodeMetaData, this );
480- }
481- copier.begin (*p_out_decoding, *p_input_stream);
482- timeout = millis () + p_source->timeoutMs ();
483- active = isActive;
484- result = true ;
485- }
486- else {
487- LOGW (" -> begin: no data found" );
488- }
489- return result;
490- }
491-
492- // / (Re)Starts the playing of the music (from the beginning)
493- virtual bool begin (int index, bool isActive = true ) {
467+ virtual bool begin (int index=0 , bool isActive = true ) {
494468 LOGD (LOG_METHOD);
495469 bool result = false ;
496470
You can’t perform that action at this time.
0 commit comments