On Thu, Apr 08, 2010 at 09:16:44PM -0500, Chris Bennett wrote:
> 
> 
> Jacob Meuser wrote:
> >On Thu, Apr 08, 2010 at 05:48:54PM -0500, Chris Bennett wrote:
> >>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?
> >
> >I did misunderstand.  -v sets a maximum volume for each client,
> >not the initial volume.
> >
> >>>>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.
> >
> >let's do this in simple steps then.  first, make sure you don't have
> >any volume settings in your mplayer configs, then
> >
> >$ pkill aucat
> >(check to make sure there are no aucat processes running)
> >$ aucat -l
> >$ mplayer file
> >(don't use a playlist, just one file)
> >
> >remember how loudly that played
> >
> >$ pkill aucat
> >(again, make sure there are no aucat process left hanging around)
> >$ mplayer -l -v 30
> >$ mplayer file
> >(the same file as before)
> >
> >now, does the second mplayer run sound as loud as the first?
> >
> Same volume, but I got that -l is unknown option and 30 was not
> taken as option

oh.  that's a typo.  that should have been 'aucat -l -v 30'.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to