瀏覽代碼

flac: introduce -o/--output-name with encode

AberDerBart 7 年之前
父節點
當前提交
b4d2f58298
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6 3
      pages/common/flac.md

+ 6 - 3
pages/common/flac.md

@@ -2,15 +2,18 @@
 
 > Encodes, decodes and tests flac files.
 
-
 - Encode a wav file to flac, writing to /path/to/file.flac:
 
 `flac {{/path/to/file.wav}}`
 
+- Encode a wav file to flac, specifying the output file:
+
+`flac -o {{/path/to/output.flac}} {{/path/to/file.wav}}`
+
 - Decode a flac file to wav, specifying the output file:
 
-`flac -d --output-name {{/path/to/output.wav}} {{/path/to/input.flac}}`
+`flac -d --output-name {{/path/to/output.wav}} {{/path/to/file.flac}}`
 
-- Test a flac file:
+- Test a flac file for correct encoding:
 
 `flac -t {{/path/to/file.flac}}`