我现在使用pipeline_raw_http,pipeline_http_mp3,pipeline_baidu_speech_mp3,合并组成一个将录音合成的文字请求websocket返回文字进行百度合成,并播放mp3文件,现在只是将pipeline_bt_sink例程合并进去还没有调用,之前组成的那个形式就会出现i2s,http任务创建失败,求大佬告知帮忙解决一下
I (7316) REC_RAW_HTTP: [3.2] Create i2s stream to read audio data from codec chip
I (7326) I2S: APLL expected frequency is 22579200 Hz, real frequency is 22579193 Hz
E (7336) I2S: i2s_alloc_dma_buffer(740): Error malloc dma buffer
E (7336) I2S: i2s_realloc_dma_buffer(787): Failed to allocate dma buffer
E (7346) I2S: i2s_set_clk(1728): I2S1 tx DMA buffer malloc failed
E (7356) I2S: i2s_driver_install(2026): I2S set clock failed
I (7356) I2S: DMA queue destroyed
I (7366) I2S: DMA queue destroyed
Total bytes written: 36000
E (167154) AUDIO_THREAD: Error creating task http
E (167154) AUDIO_ELEMENT: [http] audio_thread_create failed
W (167164) AUDIO_THREAD: Make sure selected the `CONFIG_SPIRAM_BOOT_INIT` and `CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY` by `make menuconfig`
E (167174) AUDIO_THREAD: Error creating task mp3
Total bytes written: 39600
E (167184) AUDIO_ELEMENT: [mp3] audio_thread_create failed
为啥我开启wifi后打开蓝牙会出现问题
Re: 为啥我开启wifi后打开蓝牙会出现问题
根据 log 来看是内存不足。可以在 menuconfig->Component config->ESP32-Specific 中将 spiram 打开,再次测试
Who is online
Users browsing this forum: Google Adsense [Bot] and 27 guests