Page 1 of 1

ESP32-LyraT-Mini_V1.2 运行例程 OPUS编码无法重采样无法设置为单声道

Posted: Fri Jul 26, 2024 6:43 am
by usKNOW

Code: Select all

    rsp_filter_cfg_t rsp_file_cfg = DEFAULT_RESAMPLE_FILTER_CONFIG();
    rsp_file_cfg.src_rate = SAMPLE_RATE;
    rsp_file_cfg.src_ch = 2;
    rsp_file_cfg.dest_rate = SAMPLE_RATE;
    rsp_file_cfg.dest_ch = 1;
    rsp_file_cfg.complexity = 0; 
    rsp_file_cfg.down_ch_idx = 1;
    audio_element_handle_t resample = rsp_filter_init(&rsp_file_cfg);
重采样处设置为单声道后,程序直接无法运行。大伙有遇到这种情况吗?求指点一二!!!!

Re: ESP32-LyraT-Mini_V1.2 运行例程 OPUS编码无法重采样无法设置为单声道

Posted: Mon Sep 09, 2024 6:08 am
by ESP_William
能贴一下完整的log么,看一下报错在哪?还有请问是运行的哪个example?