]> git.tue.mpg.de Git - paraslash.git/commit
mixer: sleep: Add --initial-mood and --initial-delay.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 5 Mar 2022 20:04:31 +0000 (21:04 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 16 Oct 2022 16:53:17 +0000 (18:53 +0200)
commitbe5daec66f163725489f42d512659a8af5c3fd59
treefea61592c4295bb9c9b1050bdae6133525ef180e
parent4108dd98ea72b0a603e55f39b39a4b49e2cbb40e
mixer: sleep: Add --initial-mood and --initial-delay.

The new options allow the user to run the sleep subcommand to do the
equivalent of

$ para_client stop
$ # set initial volume
$ para_client select m/initial
$ para_client play
$ sleep $initial_delay
$ para_mixer sleep

Fortunately, the implementation is very simple.
m4/lls/mixer.suite.m4
mixer.c