[alsa-devel] aplay can't run in background since adding pause support
Stephen Warren
swarren at nvidia.com
Tue May 24 18:48:52 CEST 2011
Takashi Iwai wrote at Monday, May 23, 2011 11:55 PM:
> At Mon, 23 May 2011 13:55:44 -0700, Stephen Warren wrote:
> >
> > Jaroslav,
> >
> > In recent versions of aplay, if I try to either run them in the
> > background, or run them in the foreground, then ^Z and bg them, they
> > hang indefinitely:
> > ...
>
> IMO, it's safer to add an option for interactive mode like below.
> As aplay has been used since long time ago, we shouldn't introduce
> any regression to this basic program.
Tested-by: Stephen Warren <swarren at nvidia.com>
(with -i, behaves as before, without -i, works in background as expected)
Thanks.
> ---
> diff --git a/aplay/aplay.1 b/aplay/aplay.1
> index b6caf0b..8cd1d56 100644
> --- a/aplay/aplay.1
> +++ b/aplay/aplay.1
> @@ -137,6 +137,10 @@ by typing aplay.
> Record. This is the default if the program is invoked
> by typing arecord.
> .TP
> +\fI\-i, \-\-interactive\fP
> +Allow interactive operation via stdin.
> +Currently only pause/resume via space key is implemented.
> +.TP
> \fI\-\-disable\-resample\fP
> Disable automatic rate resample.
> .TP
...
--
nvpublic
More information about the Alsa-devel
mailing list