play_mp3_rates example error messages
Posted: Thu Feb 04, 2021 8:52 am
I am playing around with some examples of ESP-ADF.
For examples, in case of play_mp3_rates sample code, it runs as expected except I often see error messages during playback below (those lines starting with letter E):
How can I code to avoid such error messages? or they simply can be ignored? Any recommendation?
For examples, in case of play_mp3_rates sample code, it runs as expected except I often see error messages during playback below (those lines starting with letter E):
Code: Select all
I (535) PLAY_MP3_RATES: [ 1 ] Start audio codec chip
I (565) PLAY_MP3_RATES: [ 2 ] Create audio pipeline, add all elements to pipeline, and subscribe pipeline event
I (565) PLAY_MP3_RATES: [2.1] Create mp3 decoder to decode mp3 file and set custom read callback
I (575) PLAY_MP3_RATES: [2.2] Create i2s stream to write data to codec chip
I (605) PLAY_MP3_RATES: [2.3] Register all elements to audio pipeline
I (605) PLAY_MP3_RATES: [2.4] Link it together [mp3_music_read_cb]-->mp3_decoder-->i2s_stream-->[codec_chip]
I (615) PLAY_MP3_RATES: [ 3 ] Set up event listener
I (615) PLAY_MP3_RATES: [3.1] Listening event from all elements of pipeline
I (625) PLAY_MP3_RATES: [ 4 ] Start audio_pipeline
I (635) PLAY_MP3_RATES: [ * ] Receive music info from mp3 decoder, sample_rates=8000, bits=16, ch=2
E (19145) AUDIO_ELEMENT: [mp3] Element already stopped
E (19145) AUDIO_ELEMENT: [i2s] Element already stopped
I (19155) PLAY_MP3_RATES: [ * ] Receive music info from mp3 decoder, sample_rates=22050, bits=16, ch=2
E (19325) PLAY_MP3_RATES: [ * ] Event interface error : -1
E (19325) PLAY_MP3_RATES: [ * ] Event interface error : -1
E (37535) AUDIO_ELEMENT: [mp3] Element already stopped
E (37535) AUDIO_ELEMENT: [i2s] Element already stopped
I (37545) PLAY_MP3_RATES: [ * ] Receive music info from mp3 decoder, sample_rates=44100, bits=16, ch=2
E (37635) PLAY_MP3_RATES: [ * ] Event interface error : -1
E (37635) PLAY_MP3_RATES: [ * ] Event interface error : -1
E (55765) AUDIO_ELEMENT: [mp3] Element already stopped
E (55765) AUDIO_ELEMENT: [i2s] Element already stopped[/color]
I (55775) PLAY_MP3_RATES: [ * ] Receive music info from mp3 decoder, sample_rates=8000, bits=16, ch=2