mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 23:57:22 -08:00
Update audiodialog.cpp
This commit is contained in:
parent
34e323131e
commit
7555a1d27b
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue