Chris Bennett wrote:


Jacob Meuser wrote:
On Thu, Apr 08, 2010 at 02:14:40PM +0200, Alexandre Ratchov wrote:

It's a aucat "feature" (limitation), trivial to change though.
Should we allow the volume of not-yet-created streams to be
changed?

I see no drawback of doing so

hmm.  maybe I'm misunderstanding something.  the description of
the '-v' option in aucat(1) says "In server mode, clients inherit
this paramter."  so, if I start aucat with 'aucat -l -v 90', then
each client's initial volume will be 90, but it can still be set
to 127, and it would be the same overall volume as if I had started
aucat with 'aucat -l' and then set a client's volume to 127?

in other words, this patch lets you set the initial volume of
each client separately, as opposed to, or actually, in addition
to, setting the initial volume of all clients at server startup,
correct?

I could definitely see uses for this.

I just tested this.
I tried pkill aucat and then -v 67
then mplayer -> got full volume.
Then I tried -v 12
then mplayer -> still full volume.
Now I tested by setting volume level, followed by running a playlist then quitting mplayer, readjusting volume and restarting mplayer.

And after testing a little more, mplayer is getting "stuck" at previous volumes levels. Even after I use aucatvol to set volume, mplayer remembers old setting. So it stays loud or soft according to last volume level used in previous run, not at current volume setting! Odd.

By the way, I wasn't using the scripts just for mplayer before all of this, I was using two xterms in scrotwm. I got tired of this so I just wrote those scripts to make it easier for me. This is why I am only just realizing how funky this problem is.
The scripts work because they alter aucatvol AFTER starting mplayer

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein

Reply via email to