Skip to content
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

Merged
merged 5 commits into from
Sep 27, 2024

Commits on Sep 20, 2024

  1. buf: grammar fixes in comments

    a first / the first
    procedure / function
    
    Signed-off-by: Marcin Szkudlinski <[email protected]>
    marcinszkudlinski committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    2d92b98 View commit details
    Browse the repository at this point in the history
  2. buf: move is_shared flag to audio_buffer structure

    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 <[email protected]>
    marcinszkudlinski committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    c56abe1 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. buf: move hw_params_configured flag to stream_params structure

    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 <[email protected]>
    marcinszkudlinski committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    7cecc11 View commit details
    Browse the repository at this point in the history
  2. buf: move walking flag to sof_audio_buffer structure

    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 <[email protected]>
    marcinszkudlinski committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    68d8ea0 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. buf: move chmap to stream_params structure

    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 <[email protected]>
    marcinszkudlinski committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    dd4c512 View commit details
    Browse the repository at this point in the history