Implementation of streamer audio source support.
More...
#include <string.h>
#include "audio_cfg.h"
#include "pipeline.h"
#include "streamer_audiosrc.h"
#include "streamer_element_properties.h"
◆ streamer_build_audiosrc_pipeline()
int streamer_build_audiosrc_pipeline |
( |
int8_t |
pipeline_index, |
|
|
const char * |
in_dev_name, |
|
|
const char * |
out_dev_name, |
|
|
StreamPipelineType |
pipeline_type, |
|
|
STREAMER_T * |
task_data |
|
) |
| |
- Parameters
-
pipeline_index | Pipeline index |
in_dev_name | Input device name |
out_dev_name | Output devie name |
pipeline_type | Pipeline type |
task_data | Pointer to streamer task data |
- Returns
- int
◆ streamer_destroy_audiosrc_pipeline()
int streamer_destroy_audiosrc_pipeline |
( |
int8_t |
pipeline_index, |
|
|
STREAMER_T * |
task_data |
|
) |
| |
- Parameters
-
pipeline_index | Pipeline index |
task_data | Pointer to streamer task data |
- Returns
- int