On Fri, Jan 29, 2010 at 7:58 AM, Calvin Walton <calvin.wal...@gmail.com> wrote: > Hi all, > > I've put together an updated version of the replaygain plugin hack that > I built a while ago. This version works around the issue where the > plugin would forget the gain of the current track. > > The actual problem appears to be that when you hit 'Pause', Rhythmbox > sets the state of the stream filter to READY instead of PAUSED, which > causes the rgvolume element to lose its state. The correct fix to this > is to actually insert the rgvolume element into a different location in > the gstreamer pipeline (right after the file decoding, with one plugin > instance per file). However, this location isn't accessible to plugins - > it would require core code changes (Which I still plan to look into... > eventually)
You could also lock the rgvolume element's state once it reaches PLAYING. http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-set-locked-state > The workaround is to use plugin code to save the gain when rhythmbox > pauses. I've attached an updated version of the plugin with minimal > changes to make this work. > > Handily, core changes within Rhythmbox have corrected the issue where > uloading and loading the plugin while Rhythmbox is playing have been > corrected, so please use the latest release. > > Enjoy, at least until replaygain is properly fixed :) This will happen pretty soon. _______________________________________________ rhythmbox-devel mailing list rhythmbox-devel@gnome.org http://mail.gnome.org/mailman/listinfo/rhythmbox-devel