Read the Docs Template Documentation, Release
esp_err_t
audio_pipeline_link
pipeline
,
const
char *
link_tag
[],
int
link_num
)
The audio_element added to audio_pipeline will be unconnected before it is called by this function. Based on el-
ement’s
name
already registered by
audio_pipeline_register
, the path of the data will be linked in the
order of the link_tag. Element at index 0 is first, and index
link_num -1
is final. As well as audio_pipeline
will subscribe all element’s events.
Return
• ESP_OK on success
• ESP_FAIL when any errors
Parameters
•
pipeline
: The Audio Pipeline Handle
•
link_tag
: Array of element
name
was registered by
audio_pipeline_register
•
link_num
: Total number of elements of the
link_tag
array
esp_err_t
audio_pipeline_unlink
pipeline
)
Removes the connection of the elements, as well as unsubscribe events.
Return
• ESP_OK on success
• ESP_FAIL when any errors
Parameters
•
pipeline
: The Audio Pipeline Handle
esp_err_t
audio_pipeline_remove_listener
pipeline
)
Remove event listener from this audio_pipeline.
Return
• ESP_OK on success
• ESP_FAIL when any errors
Parameters
•
pipeline
: The Audio Pipeline Handle
esp_err_t
audio_pipeline_set_listener
pipeline
,
evt
)
Set event listner for this audio_pipeline, any event from this pipeline can be listen to by
evt
Return
• ESP_OK on success
• ESP_FAIL when any errors
Parameters
•
pipeline
: The Audio Pipeline Handle
•
evt
: The Event Handle
44
Chapter 2. API Reference
Содержание 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...