mirror of https://github.com/thesofproject/sof.git
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:
parent
cf453a93f5
commit
b15ce3cb26
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue