alsa-utils: axfer: use second argument for transmission direction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



alsa-project/alsa-utils pull request #4 was opened from takaswie:

This patchset is for axfer command in alsa-utils to use second argument 
for transmission direction. As a result, syntax of its command line is

  axfer subcommand direction options

For example:
$ axfer transfer playback [options]
$ axfer list capture [options]

This fashion requires more typing to users, however in my taste this
looks good because it's easier to understand than long/short options. 

Additionally, this patchset applies refactoring to list subcommand.

Takashi Sakamoto (5):
  axfer: apply refactoring to list subcommand for backward compatibility
    to aplay(1)
  axfer: apply refactoring in list subcommand for new command system
  axfer: use second argument in command line for transmission direction
  axfer: use transfer subcommand as a default for compatibility mode to
    aplay(1)
  axfer: truncate parsed arguments before operating subcommand

```
 axfer/main.c            | 100 +++++++++++++++++++++++++++++-----------
 axfer/subcmd-list.c     |  85 +++++++++++++++++++++++-----------
 axfer/subcmd-transfer.c |   7 ---
 3 files changed, 133 insertions(+), 59 deletions(-)
```

Request URL   : https://github.com/alsa-project/alsa-utils/pull/4
Patch URL     : https://github.com/alsa-project/alsa-utils/pull/4.patch
Repository URL: https://github.com/alsa-project/alsa-utils
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux