乐鑫技术交流
直播中

独当一面

10年用户 824经验值
擅长:可编程逻辑
私信 关注
[问答]

ESP32 Lyrat运行官方示例player\pipeline_sdcard_mp3_control出错,按下PLAY键后没有声音播放的原因?

40081410

I (0) cpu_start: App cpu up.

I (304) cpu_start: Pro cpu start user code

I (304) cpu_start: cpu freq: 160000000

I (304) cpu_start: Application information:

I (308) cpu_start: Project name:     play_sdcard_mp3_control

I (315) cpu_start: App version:      v2.4-68-gf44c535-dirty

I (321) cpu_start: Compile time:     Aug  4 2022 10:13:56

I (327) cpu_start: ELF file SHA256:  3ee9725b45d83e73...

I (333) cpu_start: ESP-IDF:          v4.4

I (338) heap_init: Initializing. RAM available for dynamic allocation:

I (345) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM

I (351) heap_init: At 3FFB30A0 len 0002CF60 (179 KiB): DRAM

I (357) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM

I (363) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM

I (370) heap_init: At 4008FA8C len 00010574 (65 KiB): IRAM

I (377) spi_flash: detected chip: generic

I (381) spi_flash: flash io: dio

W (385) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.

I (399) cpu_start: Starting scheduler on PRO CPU.

I (0) cpu_start: Starting scheduler on APP CPU.

I (409) SDCARD_MP3_CONTROL_EXAMPLE: [1.0] Initialize peripherals management

I (419) SDCARD_MP3_CONTROL_EXAMPLE: [1.1] Initialize and start peripherals

W (449) PERIPH_TOUCH: _touch_init

I (929) SDCARD_MP3_CONTROL_EXAMPLE: [1.2] Set up a sdcard playlist and scan sdcard music save to it

I (979) SDCARD_MP3_CONTROL_EXAMPLE: [ 2 ] Start codec chip

E (979) gpio: gpio_install_isr_service(449): GPIO isr service already installed

I (1019) SDCARD_MP3_CONTROL_EXAMPLE: [ 3 ] Create and start input key service

I (1019) SDCARD_MP3_CONTROL_EXAMPLE: [4.0] Create audio pipeline for playback

I (1029) SDCARD_MP3_CONTROL_EXAMPLE: [4.1] Create i2s stream to write data to codec chip

I (1049) SDCARD_MP3_CONTROL_EXAMPLE: [4.2] Create mp3 decoder to decode mp3 file

I (1049) SDCARD_MP3_CONTROL_EXAMPLE: [4.3] Create resample filter

I (1049) SDCARD_MP3_CONTROL_EXAMPLE: [4.4] Create fatfs stream to read data from sdcard

I (1059) SDCARD_MP3_CONTROL_EXAMPLE: [4.5] Register all elements to audio pipeline

I (1069) SDCARD_MP3_CONTROL_EXAMPLE: [4.6] Link it together [sdcard]-->fatfs_stream-->mp3_decoder-->resample-->i2s_stream-->[codec_chip]

I (1079) SDCARD_MP3_CONTROL_EXAMPLE: [5.0] Set up  event listener

I (1099) SDCARD_MP3_CONTROL_EXAMPLE: [5.1] Listen for all pipeline events

W (1099) SDCARD_MP3_CONTROL_EXAMPLE: [ 6 ] Press the keys to control music player:

W (1099) SDCARD_MP3_CONTROL_EXAMPLE:       [Play] to start, pause and resume, [Set] next song.

W (1109) SDCARD_MP3_CONTROL_EXAMPLE:       [Vol-] or [Vol+] to adjust volume.

I (9749) SDCARD_MP3_CONTROL_EXAMPLE: [ * ] input key id is 3

I (9749) SDCARD_MP3_CONTROL_EXAMPLE: [ * ] [Play] input key event

I (9749) SDCARD_MP3_CONTROL_EXAMPLE: [ * ] Starting audio pipeline

E (9859) FIR_RESAMPLE: failed to allocate p_out buffer.size 35666 line 2010

E (9859) RSP_FILTER: Failed to create the resample handler

E (9859) AUDIO_ELEMENT: [filter] AEL_STATUS_ERROR_OPEN,-1

W (9869) AUDIO_ELEMENT: [filter] audio_element_on_cmd_error,7

W (9869) AUDIO_ELEMENT: IN-[i2s] AEL_IO_ABORT

W (9889) AUDIO_ELEMENT: OUT-[mp3] AEL_IO_ABORT

W (9889) MP3_DECODER: output aborted -3

I (9899) SDCARD_MP3_CONTROL_EXAMPLE: [ * ] Received music info from mp3 decoder, sample_rates=44100, bits=16, ch=2

更多回帖

发帖
×
20
完善资料,
赚取积分