Skip to content

Standardize AudioRecord to use --record-seconds parameter#238

Merged
smuppand merged 1 commit intoqualcomm-linux:mainfrom
tmoida:fix-audiorecord-params-clean
Dec 22, 2025
Merged

Standardize AudioRecord to use --record-seconds parameter#238
smuppand merged 1 commit intoqualcomm-linux:mainfrom
tmoida:fix-audiorecord-params-clean

Conversation

@tmoida
Copy link
Contributor

@tmoida tmoida commented Dec 22, 2025

Fixes #233

  • Removed --rec-secs alias, standardized on --record-seconds
  • Updated internal variable from REC_SECS to RECORD_SECONDS
  • Updated usage() function to show --record-seconds
  • Updated --strict to show it accepts optional values [0|1]
  • Updated README documentation for consistency

All documentation and code now consistently use --record-seconds.

Fixes qualcomm-linux#233

- Removed --rec-secs alias, standardized on --record-seconds
- Updated internal variable from REC_SECS to RECORD_SECONDS
- Updated usage() function to show --record-seconds
- Updated --strict to show it accepts optional values [0|1]
- Updated README documentation for consistency

All documentation and code now consistently use --record-seconds.

Signed-off-by: Teja Swaroop Moida <tmoida@qti.qualcomm.com>
Copy link
Contributor

@smuppand smuppand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whenever you update the CLI parameter, please also verify the LAVA parameter and make sure the changes are reflected in the YAML file.

@tmoida
Copy link
Contributor Author

tmoida commented Dec 22, 2025

Yes, this is already addressed. The YAML file correctly uses "--record-seconds" parameter which matches the CLI parameter in run.sh. The LAVA parameter "RECORD_SECONDS" is properly mapped to the "--record-seconds" CLI option.

Copy link
Contributor

@smuppand smuppand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@smuppand smuppand merged commit 0feb6ac into qualcomm-linux:main Dec 22, 2025
8 checks passed
@mwasilew
Copy link
Contributor

Thanks! I thought updating the README was an easier fix, but that works as well :)

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.

AudioRecore readme lists invalid CLI options

3 participants

Comments