Browse Source

Base: Modernize aplay documentation

Aplay's documentation is updated to reflect the new -s flag.
Additionally, "sound" has been replaced by "audio", reflecting the
application name. (It's also a more general term in my opinion, but
that's debatable.)
kleines Filmröllchen 3 năm trước cách đây
mục cha
commit
0424a4aa71
1 tập tin đã thay đổi với 5 bổ sung4 xóa
  1. 5 4
      Base/usr/share/man/man1/aplay.md

+ 5 - 4
Base/usr/share/man/man1/aplay.md

@@ -1,20 +1,21 @@
 ## Name
 
-aplay - play a sound
+aplay - play audio
 
 ## Synopsis
 
 ```**sh
-$ aplay [--loop] <path>
+$ aplay [--loop] [--sample-progress] <path>
 ```
 
 ## Description
 
-This program plays a sound specified in `path` through AudioServer.
+This program plays an audio file specified in `path` through AudioServer.
 
 ## Options
 
 * `-l`, `--loop`: Loop playback
+* `-s`, `--sample-progress`: Switch to (old-style) sample playback progress. By default, playback is printed as played, remaining and total length, all in minutes and seconds.
 
 ## Arguments
 
@@ -24,5 +25,5 @@ This program plays a sound specified in `path` through AudioServer.
 
 ```sh
 $ aplay ~/sound.wav
-$ aplay -l ~/music.wav
+$ aplay -l ~/music.flac
 ```