Fwd: changing volume using alsamixer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: changing volume using alsamixer

Sachin Pandhare
I think this email didn't reach the list. so sending again.

---------- Forwarded message ----------
From: Sachin Pandhare <[hidden email]>
Date: Fri, Sep 19, 2008 at 5:35 PM
Subject: changing volume using alsamixer
To: gstreamer-devel <[hidden email]>


Hi,
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?

thanks,
Sachin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: changing volume using alsamixer

Florent THIERY-2
Hi

Hi,
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)

Cheers

Florent




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel