Implementation of streamer file system support.
More...
#include <string.h>
#include "audio_cfg.h"
#include "pipeline.h"
#include "streamer_fs.h"
#include "streamer_element_properties.h"
#include "audio_proc.h"
◆ streamer_build_fs_pipeline()
int streamer_build_fs_pipeline |
( |
int8_t |
pipeline_index, |
|
|
const char * |
out_dev_name, |
|
|
StreamPipelineType |
pipeline_type, |
|
|
STREAMER_T * |
task_data |
|
) |
| |
- Parameters
-
pipeline_index | Pipeline index |
out_dev_name | Out device name |
pipeline_type | Pipeline type |
task_data | Pointer to streamer object |
- Returns
- int
◆ streamer_destroy_fs_pipeline()
int streamer_destroy_fs_pipeline |
( |
int8_t |
pipeline_index, |
|
|
STREAMER_T * |
task_data |
|
) |
| |
- Parameters
-
pipeline_index | Pipeline index |
task_data | Pointer to streamer object |
- Returns
- int
◆ streamer_get_fs_pipeline_config()
Assign corresponding decoder type according to the file extension
- Parameters
-
[in] | filename | Input file name |
[out] | config | Output config structure |
- Returns
- int
◆ file_src_cfg_lookup_table
Initial value:= {
@ LAST_DECODER_TYPE
Placeholder.
Definition: streamer_api.h:317
@ LAST_PARSER_TYPE
Placeholder.
Definition: streamer_api.h:334
This table is used by Filesystem pipeline to select the appropriate decoder and parser based on the extension of the file. This is needed to properly configure the pipeline when switching between different audio file types.