Commit 939f1cb
fix: use COMMON_AUDIO_EXTS for --audio_dir file discovery
The --audio_dir flag hardcodes 6 file extensions (wav, mp3, flac, mp4,
m4a, webm) while audio_utils supports 25+ formats via FFmpeg. Files
like .ogg, .opus, .aac, .wma are silently ignored.
Use COMMON_AUDIO_EXTS from audio_utils with case-insensitive matching,
consistent with the gradio demo (vibevoice_asr_gradio_demo.py:50).1 parent 337e420 commit 939f1cb
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
502 | 503 | | |
503 | 504 | | |
504 | 505 | | |
505 | | - | |
506 | | - | |
507 | | - | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
508 | 510 | | |
509 | 511 | | |
510 | 512 | | |
| |||
0 commit comments