]> git.alsa-project.org Git - alsa-utils.git/commitdiff
axfer: print help for libasound backend
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 17 Dec 2018 06:51:03 +0000 (15:51 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 2 Jan 2019 10:24:47 +0000 (11:24 +0100)
This commit attempts to categorise existing options to four parts;
basics, software features, libasound plugin options and debug assistant.
These categories will assist users to get purpose of each option.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
axfer/xfer-libasound.c

index c774ced7092dfadcc20070b36f5a9ca488803b89..f813024cfc6b12ab4545d0cbf4b6f2bb76702bb3 100644 (file)
@@ -882,7 +882,30 @@ static void xfer_libasound_destroy(struct xfer_context *xfer)
 
 static void xfer_libasound_help(struct xfer_context *xfer)
 {
-       printf("      (placeholder)\n");
+       printf(
+"      [BASICS]\n"
+"        -D, --device          select node by name in coniguration space\n"
+"        -N, --nonblock        nonblocking mode\n"
+"        -M, --mmap            use mmap(2) for zero copying technique\n"
+"        -F, --period-time     interval between interrupts (msec unit)\n"
+"        --period-size         interval between interrupts (frame unit)\n"
+"        -B, --buffer-time     size of buffer for frame(msec unit)\n"
+"        --buffer-size         size of buffer for frame(frame unit)\n"
+"        --waiter-type         type of waiter to handle available frames\n"
+"        --sched-model         model of process scheduling\n"
+"      [SOFTWARE FEATURES]\n"
+"        -A, --avail-min       threshold of frames to wake up process\n"
+"        -R, --start-delay     threshold of frames to start PCM substream\n"
+"        -T, --stop-delay      threshold of frames to stop PCM substream\n"
+"      [LIBASOUND PLUGIN OPTIONS]\n"
+"        --disable-resample    disable rate conversion for plug plugin\n"
+"        --disable-channels    disable channel conversion for plug plugin\n"
+"        --disable-format      disable format conversion for plug plugin\n"
+"        --disable-softvol     disable software volume for sofvol plugin\n"
+"      [DEBUG ASSISTANT]\n"
+"        --fatal-errors        finish at XRUN\n"
+"        --test-nowait         busy poll without any waiter\n"
+       );
 }
 
 const struct xfer_data xfer_libasound = {