diff options
author | Simon Gomizelj <simongmzlj@gmail.com> | 2012-09-25 18:37:02 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-10-01 23:40:24 -0400 |
commit | 3d49597247a92848ab682db002f7a1250fad033b (patch) | |
tree | dda4f210f257ad10a5b9b65f4fac9024f0512bec | |
parent | 08b77eb2c6242532749aa445d64cff883d0f8481 (diff) | |
download | mirror-ponymix-3d49597247a92848ab682db002f7a1250fad033b.tar.gz mirror-ponymix-3d49597247a92848ab682db002f7a1250fad033b.tar.bz2 mirror-ponymix-3d49597247a92848ab682db002f7a1250fad033b.zip |
add --input/--output as an alternative flags.
Input/output make more sense for applications, where the pulseaudio
sink/source may feel backwards
-rw-r--r-- | ponymix.1 | 4 | ||||
-rw-r--r-- | ponymix.c | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -12,11 +12,11 @@ perform many operations on both device and application sinks and source. Control input and output devices. .IP "\fB\-a\fR, \fB\-\-app\fR" Control the playback and recording streams. -.IP "\fB\-o\fR[\fR\fISINK\fR]\fR, \fB\-\-sink\fR[\fB=\fR\fISINK\fR]" +.IP "\fB\-o\fR[\fB=\fR\fISINK\fR]\fR, \fB\-\-sink\fR[\fB=\fR\fISINK\fR], \fB\-\-output\fR[\fB=\fR\fISINK\fR]" Specify the sink to control. If the argument is omitted, the default sink is used. \fISINK\fR must be the numeric index of the sink. -.IP "\fB\-i\fR[\fR\fISOURCE\fR]\fR, \fB\-\-source\fR[\fB=\fR\fISOURCE\fR]" +.IP "\fB\-i\fR[\fB=\fR\fISOURCE\fR]\fR, \fB\-\-source\fR[\fB=\fR\fISOURCE\fR], \fB\-\-input\fR[\fB=\fR\fISOURCE\fR]" Specify the source to control. If the argument is omitted, the default source is assumed. \fISOURCE\fR must be the numeric index of the source. @@ -828,7 +828,9 @@ int main(int argc, char *argv[]) { "device", no_argument, 0, 'd' }, { "help", no_argument, 0, 'h' }, { "sink", optional_argument, 0, 'o' }, + { "output", optional_argument, 0, 'o' }, { "source", optional_argument, 0, 'i' }, + { "input", optional_argument, 0, 'i' }, { 0, 0, 0, 0 }, }; |