Commit d42941d
ports/stm: use mp_arg_validate_int_min for audioio sample_rate floor
Replace the custom "sample_rate must be > 0" raise with the standard
mp_arg_validate_int_min helper, matching the existing _int_max call on
the next line.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent cd142d5 commit d42941d
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
461 | | - | |
462 | | - | |
463 | | - | |
| 461 | + | |
464 | 462 | | |
465 | 463 | | |
466 | 464 | | |
| |||
0 commit comments