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

usKNOW
Posts: 2
Joined: Mon Jul 01, 2024 7:14 am

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

Postby usKNOW » Fri Jul 26, 2024 6:43 am

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);
重采样处设置为单声道后,程序直接无法运行。大伙有遇到这种情况吗?求指点一二!!!!

ESP_William
Posts: 135
Joined: Tue Apr 24, 2018 5:54 am

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

Postby ESP_William » Mon Sep 09, 2024 6:08 am

能贴一下完整的log么,看一下报错在哪?还有请问是运行的哪个example?

Who is online

Users browsing this forum: No registered users and 84 guests