}
static inline void *
-app_pipeline_data_fe(struct app_params *app, uint32_t id)
+app_pipeline_data_fe(struct app_params *app, uint32_t id, struct pipeline_type *ptype)
{
struct app_pipeline_data *pipeline_data;
if (pipeline_data == NULL)
return NULL;
+ if (strcmp(pipeline_data->ptype->name, ptype->name) != 0)
+ return NULL;
+
if (pipeline_data->enabled == 0)
return NULL;