Bug#548611: gnash: please add a configuration setting for initial volume level

Gabriele Giacone 1o5g4r8o at gmail.com
Tue Aug 31 03:52:11 UTC 2010


On 08/29/2010 06:01 PM, Francesco Poli wrote:
> Now I am back with a decent Internet link and could retry to reproduce
> the problem.

First of all, please install latest version 0.8.8-2 in unstable.

>> please let us reproduce it, what site?
> 
> YouTube, for instance.

At youtube.com, you might encounter cookies-related issues:

http://www.gnashdev.org/?q=node/77

At the moment, we didn't understand yet what browsers are affected,
what not, what conditions. What acts as workaround in all cases seems to
be removing+blocking cookies from youtube.com.

> That's where I've just reproduced the bug, but I seem to remember to
> see it happening whenever mozilla-plugin-gnash was used inside my
> browser (galeon).
> 
> Basically, as I said, every new video starts at 100 % volume and I have
> to manually adjust it to a sane value.
>>
>> We should go more in depth however upstream says that gnash uses the system
>> default.
> 
> Which system default?
> 
> The alsamixer settings?
> The only one at 100 is "Front", but I thought the important value was
> "Master" (which is 64) or maybe "PCM" (40).
> 
> Or Jackd settings?
> I am not aware of any default volume setting that I can configure for
> jackd.
> 
> The fact is that I am using an auto-starting jackd daemon, with alsa
> back-end.
> Now, as far as know, gnash relies on gstreamer, and thus cannot
> directly connect to a jackd daemon: can you confirm that?

I tried your configuration with few changes and now my system uses jackd
too but I only have good news: it works fine! :)
FWIW I'm using qjackctl as auto-starter.

>> I think your issue may depend on the player which plays videos.
> 
> What do you mean by "the player which plays videos"?
> The one implemented in flash and executed by gnash?

Exactly. Gnash can't modify or start with a configurable volume level
whereas .swf applications it plays can do it.
And this is what I found out:
under ~/.gnash/SharedObjects, gnash stores .swf applications and related
data. For example:

SharedObjects/s.ytimg.com/yt/swf/watch-vfl186120.swf
	local copy of youtube movie player
SharedObjects/s.ytimg.com/soundData.sol
	volume settings we was looking for

So when you modify volume level, gnash stores it in that file.
I confirm that at the first access, volume is at maximum level but when
you lower it, your action is saved.
s.ytimg.com is one of the youtube servers and I don't know how many they
are so there might be more than one "first access".

And how to made initial maximum level lower?
Play with levels, IMHO the answer is there.



Cheers,
Gabriele





More information about the pkg-flash-devel mailing list