ESP-ADF Release v2.3
Below is the release information of ESP-ADF v2.3, and its documentation is available here.
Changelog
This is the list of changes since release v2.2:
Pipeline Framework
New Features
- Added element state
AEL_STATE_INITIALIZINGto mark the opening status - Modified elements to remove the commands sent from self task
- Modified
audio_calloc_innerto prefer calloc on psram
Bugfix
- Fixed the bug that ringbuf mutex was called by different tasks
- Fixed the bug that ringbuffer returned
AEL_IO_DONEdirectly without flushing the tail data whenrb_done_writewas called on higher priority task thanrb_read - Fixed the
audio_element_inputdescription typo - Fixed the bug that element double freed the holder ringbuffer
- Fixed incorrect pointer address on
audio_thread_createwhich may casue task handle is NULL
ESP_Dispatcher
Bugfix
- Fixed the bug that mutex was not unlocked when send message failed in dispatcher
Audio Stream
New Features
- Added TTS stream
- Modified algo stream for easier use
- Modified fatfs stream to support force wav header
- Support multiple tone streams
Service Framework
New Features
- Added more patterns for display service
- Modified the
wifi_serviceto report event when get Wi-Fi configuration - Added the
wifi_servicenew interface to get the last used Wi-Fi configuration - Modified the
bluetooth_serviceto set TG volume
Bugfix
- Fixed the bug that Wi-Fi service could not get IP above ESP-IDF v4.1
- Fixed the
micropython_adferror that pipeline should be stopped first to stop record
Audio_Hal
New Features
- Added ADC chip ES7210 driver
- Modified ZL38063 dsp firmware to support AEC
Bugfix
- Fixed bugs to keep the es8388 mic gain of left and right channels consistent
- Fixed codec es8311 and es7243 failed to call i2c bus write
- Fixed the bug that setting the default volume on mini board was invalid
ESP Peripherals
New Features
- Fixed rmt module conflict between ws2812 and idf driver
Bugfix
- Fixed memory leak in peripherals implementation
- Fixed peripheral Wi-Fi could not get IP above ESP-IDF v4.0
Audio Protocol
- Added MRM client
SIP
- Fixed bugs to support conference mode
ESP Codec Libraries
New Features
- Combined all of the codecs to one library
- Added subchunk parse to wav decoder
- Support modifying timeout of a specified ringbuffer
- Changed down-mix dynamic allocate memory for multi-channel
Bugfix
- Fixed the bug that mp3 decoder did not clear the byte position when closed
- Fixed aac memory overread when data was incorrect
ESP Audio
New Features
- Updated the
esp_audioplayer version to v1.7.0 - Added
esp_audio_speed_get,esp_audio_speed_setandesp_audio_speed_idx_to_floatto support speed up and slow down play - Support
hfp_streamfor esp_audio APIs
Bugfix
- Fixed the bug that
esp_audio_sync_playno return whenesp_audio_stopwas called during sync play - Fixed the bug that media source notified incorrect source type because it had been changed by
media_ctrl_media_src_set - Fixed the bug that speed mode had wrong time
Docs
- Added more codecs copyright and License
- Added example template files
- Added docs feedback links
Examples of ESP-ADF
New Examples
- Added multi-room music example
examples/advanced_examples/multi-room - Added HFP stream in
wifi_bt_ble_coexexample - Modified the VOIP example to support AEC, Smart Config, ringing tone and FreeSwtich/FreePBX conference
- Modified the algorithm example to support latest
algorithm_streamexample - Changed BR_EDR_ONLY to BDTM in sdkconfig.defaults for BT Sink and Source examples
Bugfix
- Fixed the bug that
play_mp3compile failed when selecting a board - Fixed the bug that audio pipeline link did not properly set link tag in
google_translate_deviceexample - Fixed the bug that the
play_mp3_controlcould not restart playing after music play finished - Fixed the bug that the
vadexample did not work on lyrat mini board with IDF v4.x - Fixed the bug that setting Wi-Fi via blufi failed in
wifi_bt_ble_coexexample - Fixed the
downmix_pipelinedid not set listener and never broke main loop - Fixed the bug that release sdcard listed resource on
pipeline_sdcard_mp3_controlexample
Korvo Du1906
- Released
korvo_du1906v1.4.0 - Added A2DP stream patch for Du1906
- Updated the Du1906 readme
- Fixed the issue that baidu server unreachable
- Added IDF patch to Du1906 and modified the readme file
Get This Release
Using git commands below to obtain ESP-ADF v2.3 is highly recommended. Note that the submodules should also be updated (using git submodule update --init --recursive). Otherwise, the source files may be not working properly.
git clone https://github.com/espressif/esp-adf.git esp-adf-v2.3
cd esp-adf-v2.3/
git checkout v2.3
git submodule update --init --recursiveTo get the programming guide for Audio Development Framework, please check here.