[gst-devel] Fwd: changing volume using alsamixer

Florent fthiery at gmail.com
Wed Sep 24 11:18:58 CEST 2008


> i executed following commands
> gst-launch audiotestsrc ! alsasink &
> amixer set Master 10%+
> it changed the volume for the test source playback.
> Does amixer use alsamixer plugin internally?
> is there any command for gst-launch to include alsamixer in the chain with
> some preset volume?
> can this volume be changed dynamically?

I'd rather use the following pipeline, programatically: audiotestsrc !
volume ! alsasink

And play with volume's "volume" property, example in python:

vol = gst.element_factory_make("volume")
vol.set_property("volume", 0.8)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080924/7d0080f1/attachment.htm>

More information about the gstreamer-devel mailing list