sflaunch

Section: User Commands (1)
Updated: 18 SEP 1999
Index Return to Main Contents
 

NAME

sflaunch - Speak Freely mike and speaker launcher  

SYNOPSIS

sflaunch [ -dqu ] [ -yindev[:ctldev] ] [ -both mike_and_speaker_options... ] [ -launch more_launch_options... ] [ -mike mike_options... ] [ -speaker speaker_options... ] [ hostname[:port] ] [ soundfile ... ]  

DESCRIPTION

sflaunch was created as a work-around for audio drivers, even some full-duplex, which do not permit two separate programs such as sfmike and sfspeaker to independently open the audio device, notwithstanding one program's opening it read-only and the other write-only. sflaunch opens the audio device in read/write mode, then spawns two child processes in which sfmike and sfspeaker are executed, passing the open audio file descriptors to each via the -y option supported by both programs, along with whatever arguments were specified for each program on the sflaunch command line.

sflaunch may be used on any platform, even those without the restriction which motivated its creation; you may find using it more convenient than manually starting sfspeaker and sfmike.  

OPTIONS

-both
The options which follow are passed to both sfmike and sfspeaker on their command lines. This is particularly handy when specifying encryption keys.
-d
Enables debug output.
-launch or -sflaunch
The options which follow are processed by sflaunch rather than being passed to sfmike or sfspeaker. This is the default, and as long as you place all sflaunch options before the first -mike or -speaker option you never need to use the -launch option. It is provided as a convenience for scripts which wish to assemble sflaunch commands without paying attention to the order in which options are specified.
-mike or -sfmike
The options which follow are passed to sfmike when it is invoked. Note that destination and sound file arguments are automatically passed to sfmike and need not be preceded by this option.
-q
When a connection is closed, sflaunch normally prompts the user to open another connection. If the -q option is specified, sflaunch exits at the end of first connection, terminating sfspeaker and returning to the shell prompt.
-speaker or -sfspeaker
The options which follow are passed to sfspeaker when it is invoked. You may switch back and forth between directing options to sfmike and sfspeaker as many times as you wish.
-u
Prints how-to-call information.
-yindev[:ctldev]
This option allows you to override the defaults for the name of the audio input device file (for example /dev/audio) and, optionally, the audio control device file, specified after the input device, separated by a colon.
 

SEE ALSO

sfmike(1), sfspeaker(1)  

AUTHOR

John Walker
WWW:    http://www.fourmilab.ch/

This program is in the public domain.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 12:37:47 GMT, July 10, 2022