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

Simplify the command line for plugin #9610

Merged
merged 3 commits into from
Oct 28, 2024

Commits on Oct 23, 2024

  1. tools: plugin: pcm: Use hw_params when config is not provided

    In preparation for simplifying the command line for the plugin, add an
    option to use the hw_params when the config name is not specified in the
    command line to configure the endpoint.
    
    Signed-off-by: Ranjani Sridharan <[email protected]>
    ranj063 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    b3ce029 View commit details
    Browse the repository at this point in the history
  2. tools: plugin: tplg: Use hw_params to pick widget audio format

    When choosing the audio format during prepare, use the hw_params for
    matching against the available topology formats. This is in preparation
    to simplify the command line for the plugin to drop the config name.
    
    Signed-off-by: Ranjani Sridharan <[email protected]>
    ranj063 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    06121d0 View commit details
    Browse the repository at this point in the history
  3. tools: plugin: Simplify the command line

    Make the card/dev names and config names optional in the command line.
    This will simplify the command line to just pass the PCM ID to start
    playback using the default device as follows:
    
    aplay -Dsof:plugin:1
    
    Signed-off-by: Ranjani Sridharan <[email protected]>
    ranj063 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    e419109 View commit details
    Browse the repository at this point in the history