Merge pull request #61 from Szybet/master

add comment
This commit is contained in:
Nicolas Mailloux 2023-09-10 08:59:22 -04:00 committed by GitHub
commit 30231966f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,6 +167,8 @@ void audioDialog::refreshFileList() {
// https://github.com/libsndfile/libsndfile // https://github.com/libsndfile/libsndfile
// Is it easy to do? Yes. Does it take more space? Yes. Do I care? No, I have this fancy command instead: // Is it easy to do? Yes. Does it take more space? Yes. Do I care? No, I have this fancy command instead:
// for i in *; do ffmpeg -i "$i" "${i%.*}.wav"; done // for i in *; do ffmpeg -i "$i" "${i%.*}.wav"; done
// To make the files smaller:
// for i in *; do ffmpeg -i "$i" -sample_fmt s16 -ar 22000 "${i%.*}22k.wav"; done
// (Szybet) // (Szybet)
dir.setNameFilters(QStringList("*.wav")); dir.setNameFilters(QStringList("*.wav"));
dir.setFilter(QDir::Files | QDir::NoDotAndDotDot | QDir::NoSymLinks); dir.setFilter(QDir::Files | QDir::NoDotAndDotDot | QDir::NoSymLinks);