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

CI ONLY #9521

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Commits on Oct 18, 2024

  1. spelling correction: audo to audio

    sof_audo_buffer_from_* => sof_audio_buffer_from_*
    
    Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
    marcinszkudlinski committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    569b75f View commit details
    Browse the repository at this point in the history
  2. buf: add .clean method to audio_buffer API

    clean method does clean all buffer data
    leaving config as is
    Need to be implemented as virtual method
    as is implemented difrently in each buffer type
    
    Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
    marcinszkudlinski committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    61efedd View commit details
    Browse the repository at this point in the history
  3. buf: extend audio_buf api and add default sink/src handlers

    There are 3 APIs each buffer must implement (Sink/src/audio_buffer)
    for data producers/consumers/maintenance
    each of them need to have methods doing same operations - like settings
    stream parameters
    
    this commit provides simplification for buffer implementation -
    it is enough to implement those methods for audio_buffer API, default
    handlers for sink/src will propagate calls accordingly
    
    Specific handlers for sink and source may still be provided
    i.e. in case when sink or source API is not provided by a buffer
    but some other data producer (i.e. DAI)
    
    Also a default implementation of .audio_set_ipc_params is provided,
    that probably will fit needs of all buffers' implementation,
    except of currently used legacy comp_buffer
    
    Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
    marcinszkudlinski committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    137d087 View commit details
    Browse the repository at this point in the history
  4. buf: ring_buffer and comp_buffer use default methods

    This commit modifies both existing buffers implementations
    to use simplified API for sink/source/audio_buffer
    
    Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
    marcinszkudlinski committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    cbb350a View commit details
    Browse the repository at this point in the history
  5. buf: remove unnecessary cache operation

    All control structures of buffers shared between cores
    are now stoerd in a non-cached memory alias.
    Cache writeback is no longer needed here
    
    Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
    marcinszkudlinski committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    37936d9 View commit details
    Browse the repository at this point in the history