Rob - you are working way too hard to determine the sox output device.

Just do -d instead of -t alsa and it will pick the output device automatically.

I would structure it like this:

If nothing is passed to -b then use -d in sox, and -o is ignored.

If an option is passed to -b then use it, and if -o has an option then add it as well.

Make a note in the man page that -o requires -b and error if -o is used without -b.

I wonder if this message will reach you considering the bug is from 3 years ago.

I could probably fix up this patch myself if you like.

        -Ariel



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to