Rename to avoid confusion with the purpose of this function.
Signed-off-by: Seppo Ingalsuo seppo.ingalsuo@linux.intel.com --- src/audio/eq_fir.c | 2 +- src/audio/eq_iir.c | 2 +- src/audio/host.c | 2 +- src/audio/mixer.c | 2 +- src/audio/tone.c | 2 +- src/audio/volume.c | 2 +- src/include/reef/audio/component.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/audio/eq_fir.c b/src/audio/eq_fir.c index f936a47..df87323 100644 --- a/src/audio/eq_fir.c +++ b/src/audio/eq_fir.c @@ -297,7 +297,7 @@ static int eq_fir_params(struct comp_dev *dev, struct stream_params *params) return -EINVAL;
/* don't do any data transformation */ - comp_set_sink_params(dev, params); + comp_buffer_sink_params(dev, params);
return 0; } diff --git a/src/audio/eq_iir.c b/src/audio/eq_iir.c index 1a7d9f4..714202a 100644 --- a/src/audio/eq_iir.c +++ b/src/audio/eq_iir.c @@ -302,7 +302,7 @@ static int eq_iir_params(struct comp_dev *dev, struct stream_params *params) return -EINVAL;
/* don't do any data transformation */ - comp_set_sink_params(dev, params); + comp_buffer_sink_params(dev, params);
return 0; } diff --git a/src/audio/host.c b/src/audio/host.c index 64e19ab..fac25ef 100644 --- a/src/audio/host.c +++ b/src/audio/host.c @@ -379,7 +379,7 @@ static int host_params(struct comp_dev *dev, struct stream_params *params) if (params->pcm->direction == SOF_IPC_STREAM_PLAYBACK) {
/* set sink buffer params */ - comp_set_sink_params(dev, params); + comp_buffer_sink_params(dev, params);
hd->source = &hd->host; hd->sink = &hd->local; diff --git a/src/audio/mixer.c b/src/audio/mixer.c index 9decbce..b44a92c 100644 --- a/src/audio/mixer.c +++ b/src/audio/mixer.c @@ -130,7 +130,7 @@ static int mixer_params(struct comp_dev *dev, struct stream_params *params) sink_params.pcm->frame_size = 4 * params->pcm->channels; /* 32bit container */
/* dont do any data transformation */ - comp_set_sink_params(dev, &sink_params); + comp_buffer_sink_params(dev, &sink_params);
return 0; } diff --git a/src/audio/tone.c b/src/audio/tone.c index 9499040..5d88a5f 100644 --- a/src/audio/tone.c +++ b/src/audio/tone.c @@ -410,7 +410,7 @@ static int tone_params(struct comp_dev *dev, struct stream_params *params) return -EINVAL;
/* Don't do any data transformation */ - comp_set_sink_params(dev, params); + comp_buffer_sink_params(dev, params);
return 0; } diff --git a/src/audio/volume.c b/src/audio/volume.c index 53fe60c..0e4a2e6 100644 --- a/src/audio/volume.c +++ b/src/audio/volume.c @@ -387,7 +387,7 @@ static int volume_params(struct comp_dev *dev, struct stream_params *params) }
/* dont do any data transformation */ - comp_set_sink_params(dev, params); + comp_buffer_sink_params(dev, params);
return 0; } diff --git a/src/include/reef/audio/component.h b/src/include/reef/audio/component.h index 7e28dfc..818e686 100644 --- a/src/include/reef/audio/component.h +++ b/src/include/reef/audio/component.h @@ -301,7 +301,7 @@ static inline int comp_buffer_reset(struct comp_dev *dev) return 0; }
-static inline void comp_set_sink_params(struct comp_dev *dev, +static inline void comp_buffer_sink_params(struct comp_dev *dev, struct stream_params *params) { struct list_item *clist;