-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pipeline2.0: low hanging fruits - move buffers' common params to struct sof_audio_buffer. #9499
Pipeline2.0: low hanging fruits - move buffers' common params to struct sof_audio_buffer. #9499
Conversation
a first / the first procedure / function Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
is_shared is a flag indicating that a buffer is shared between cores. This property is common for all types of audio buffers and should be kept in a base structure Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The is/are_hw_params seems rather minor.
there's a problem with CI loadable library test, checking |
hw_params_configured is a flag indicating that a buffer params has been already set, and should be kept in the same structure as the params themselves this commit moves hw_params_configured to sof_audio_stream_params and introduces API to handle the flag Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
walking flag is not really needed for data buffering, rather for pipeline iteration procedures, so it should not be in sof_audio_buffer structure. But before in order to make possible usage of other buffer types than comp_buffer before pipeline2.0 is ready, it must be kept there. Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
6cf701c
to
ccae5e5
Compare
chmap is a parameter common for all types of buffers, should be accessible through sink/src api, so it needs to be kept in sof_audio_stream_params an API inroduced for accessing the parameter Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
ccae5e5
to
dd4c512
Compare
internal CI that was failing is green, jenkins did not start. Lately there was couple of similar problems in several PRs BlobNotFoundThe specified blob does not exist. RequestId:edb2f1ad-201e-0086-7fa7-105dd6000000 Time:2024-09-27T06:33:40.4681943Z |
SOFCI TEST |
This PR moves many of parameters that are common for all buffers to struct sof_audio_buffer
there are 4 left:
and will be moved to sof_audio_buffer in next PR