Read the Docs Template Documentation, Release
Return
• ESP_OK
• ESP_FAIL
Parameters
•
el
: The audio element handle
•
timeout
: The timeout
esp_err_t
audio_element_set_output_timeout
el
, TickType_t
timeout
)
Set output read timeout (default is
portMAX_DELAY
)
Return
• ESP_OK
• ESP_FAIL
Parameters
•
el
: The audio element handle
•
timeout
: The timeout
esp_err_t
audio_element_reset_input_ringbuf
el
)
Reset inputbuffer.
Return
• ESP_OK
• ESP_FAIL
Parameters
•
el
: The audio element handle
esp_err_t
audio_element_reset_output_ringbuf
el
)
Reset outputbuffer.
Return
• ESP_OK
• ESP_FAIL
Parameters
•
el
: The audio element handle
audio_element_input
el
, char *
buffer
, int
wanted_size
)
Call this function to provice Element input data. Depending on setup using ringbuffer or function callback,
Element invokes read ringbuffer, or calls read callback funtion.
Return
• > 0 number of bytes produced
• <=0 audio_element_err_t
Parameters
2.1. Audio Framework
35
Содержание ESP32-LyraT
Страница 1: ...Read the Docs Template Documentation Release Read the Docs Jul 01 2018...
Страница 2: ......
Страница 4: ...ii...
Страница 6: ...Read the Docs Template Documentation Release 2 Contents...
Страница 82: ...Read the Docs Template Documentation Release Fig 3 5 ESP32 LyraT V4 3 Board Layout 78 Chapter 3 Design Guide...
Страница 92: ...Read the Docs Template Documentation Release 88 Chapter 4 Resources...
Страница 94: ...Read the Docs Template Documentation Release 90 Chapter 5 Copyrights and Licenses...
Страница 96: ...Read the Docs Template Documentation Release Fig 6 1 Espressif Audio Development Framework 92 Chapter 6 About...