ncmixer

ncurses audio mixer with cross-fade support
git clone git://git.2f30.org/ncmixer.git
Log | Files | Refs | README | LICENSE

commit 6f4c25194a01382ef8dcf3b1a7ad210e2b46eae1
parent 7fb9e5af6c53196c8f3b281cdf1b0c5e9fa52dbe
Author: sin <sin@2f30.org>
Date:   Fri Jun  3 16:21:21 +0100

Allow selecting output device on the cmdline

Diffstat:
ncmixer.c | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/ncmixer.c b/ncmixer.c @@ -440,8 +440,12 @@ curses_exit(void) } int -main(void) +main(int argc, char *argv[]) { + if (argc > 1) + outputs[0].name = argv[1]; + if (argc > 2) + outputs[1].name = argv[2]; curses_init(); draw(); loop();