pipeline: move XRUN recovery setting to where it's used.

NO_XRUN_RECOVERY is only used by pipeline xrun logic so move it.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
Liam Girdwood 2021-03-29 11:36:54 +01:00 committed by Liam Girdwood
parent cf453a93f5
commit b15ce3cb26
2 changed files with 7 additions and 8 deletions

View File

@ -20,6 +20,13 @@
#include <stddef.h>
#include <stdint.h>
/*
* This flag disables firmware-side xrun recovery.
* It should remain enabled in the situation when the
* recovery is delegated to the outside of firmware.
*/
#define NO_XRUN_RECOVERY 1
static int pipeline_comp_xrun(struct comp_dev *current,
struct comp_buffer *calling_buf,
struct pipeline_walk_context *ctx, int dir)

View File

@ -30,14 +30,6 @@ struct sof_ipc_buffer;
struct sof_ipc_pcm_params;
struct task;
/*
* This flag disables firmware-side xrun recovery.
* It should remain enabled in the situation when the
* recovery is delegated to the outside of firmware.
*/
#define NO_XRUN_RECOVERY 1
/* Pipeline status to stop execution of current path */
#define PPL_STATUS_PATH_STOP 1