Skip to content

Simplify the command line for plugin - #9610

Merged
lgirdwood merged 3 commits into
thesofproject:mainfrom
ranj063:fix/plugin_commandline
Oct 28, 2024
Merged

lgirdwood merged 3 commits into
thesofproject:mainfrom
ranj063:fix/plugin_commandline

Conversation

@ranj063

@ranj063 ranj063 commented Oct 23, 2024

Copy link
Copy Markdown
Collaborator

No description 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]>
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]>
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]>
@lgirdwood
lgirdwood merged commit 5dfc2d5 into thesofproject:main Oct 28, 2024
@ranj063
ranj063 deleted the fix/plugin_commandline branch October 28, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants