Skip to content

ESP-ADF Pre-release v2.0-beta1

Pre-release
Pre-release

Choose a tag to compare

@jason-mao jason-mao released this 26 Jun 03:58
· 1625 commits to master since this release

Below is the release information of ESP-ADF v2.0-beta1 and its documentation is available here.

Known Issue

  • Some TS formats are not supported.

Major New Features

ESP Dispatcher

ESP_Dispatcher provides a design structure that improves function reusability of existing products and shortens development cycle of new products.
New features of ESP Dispatcher Framework:

  • Separate application events and actions
  • Support ESP dispatcher
  • Support audio service class
  • Support peripheral service class
  • Support independent Display, DuerOS, Player, Recorder and Wi-Fi actions

Service Framework

New Features

  • Input key service
    • Support ADC, GPIO and Touch key
  • Display service
    • Support LEDC display pattern
    • Support LED array display pattern
  • DuerOS service
    • Support LightDuer v3.0.7
  • Wi-Fi service
    • Support Wi-Fi setting by Smartconfig
    • Support Wi-Fi setting by AirKiss

ESP Peripherals

New Features

  • esp_peripherals is divided into two parts: esp_periph_set and peripheral handle
  • Add GPIO ISR to peripherals libraries
  • Add ADC button to peripherals libraries

Peripherals

New Features

  • LEDC
    • Add a new display pattern
  • LED Bar
    • Add a new display pattern

Pipeline Framework

New Features

  • Support event callback
  • Add audio_element_set_output_ringbuf_size API
  • Add audio_element_wait_for_stop_ms API
  • Add audio_element_set_event_callback API
  • Add a new element state: AEL_STATUS_STATE_FINISHED
  • Add audio_pipeline_change_state API
  • Add audio_pipeline_relink_more API
  • Add rb_unblock_reader API
  • Adjust audio_hal

Bugfix

  • Fixed pipeline relink failure
  • Fixed ringbuffer blocking issue occurred when read size or write size is larger than the size of ringbuffer

Audio Stream

New Features

  • Support ALC in I2S stream
  • Add more audio_type checks in HTTP stream
  • Support two-level m3u8 parsing in HTTP stream

Bugfix

  • Fixed HTTP stream parsing and insertion issue in relative URIs
  • Changed HTTP stream from strdup to audio_strdup to optimize RAM
  • Changed RAW API from raw_stream_read(char *buffer, int buf_size) to raw_stream_read(audio_element_handle_t pipeline, char *buffer, int buf_size)

ESP Speech Recognition (SR) Libraries

New Feature

  • Support WakeNet5

ESP Codec and Filter Libraries

You can find the released codec and filter libraries here.

New Features

  • Add ALC libraries to adjust volume
  • Optimize OPUS encoder on mono
  • Optimize HC_AAC speed
  • Add setting APIs for downmix and equalizer

Bugfix

  • Fixed the crash of WAV stream (its bit width is not 16)
  • Corrected the complexity level of resample to 5

ESP Recorder

New Features

  • Select specific functionality to lower binary size
  • Support WWE disable
  • Support customized task priority

ESP Audio

New Features

  • Add media_source_type API
  • Add playing info get/set API
  • Add esp_audio_sync_play API
  • Support memory-preferred mode and speed-preferred mode
  • Support events callback
  • Improve playback response time
  • Remove HAL handle, replaced by callback function API

Bugfix

  • Fixed raw URI failure

Audio Protocol

  • Support 2.0 SIP protocol
  • Support 2.0 RTP protocol
  • Support RFC4566-based SDP
  • Support servers: FreePBX, Yate Server and Freeswitch

Codec IC

ESP-ADF newly provides support for the following Codec ICs:

  • ES8311
  • ES7243

Support New Development Board

New Examples of ESP-ADF

Below are the added examples that demonstrate the usage of ESP-ADF components:

Get This Release

We use git submodules, therefore, the source files attached to this version will not work.
Using git commands here to obtain ESP-ADF v2.0-beta1 is highly recommended.

git clone https://github.com/espressif/esp-adf.git esp-adf-v2.0-beta1
cd esp-adf-v2.0-beta1/
git checkout v2.0-beta1
git submodule update --init --recursive

To get the programming guide for Audio Development Framework, please tap here.