-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check-pause-resume: handle volume MAX output in expect
When volume is MAX, current expect misses the case. Why volume is MAX is separate question. Momentary pop can be ingored but if volume is 100% DC return error. And added for ignoring dump-hw-params and last case is anything else, it means unexpected outputs, will return error also. This is example of output from aplay or arecord. 1. Playing "## + | 11%" 2. When paused "=== PAUSE ===" 3. When volume is MAX "##################################################+| MAX" Signed-off-by: Fred Oh <[email protected]>
- Loading branch information
Showing
3 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters