level meter for alsa

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

level meter for alsa

Lutz Müller-2
Hello!

I'd like to implement level meters within gnome-volume-control (mock-up
attached). But in order to be able to implement that, the current audio
levels on alsa devices need to be advertised by GStreamer.

alsa-tools uses snd_ctl_elem_read and snd_ctl_elem_value_get_integer to
read the current level on a specific alsa device. I couldn't find a
reference to these functions in gst-plugins-base/ext/alsa.

Can you point me to the right GStreamer element/interface that can be
used by frontends to monitor the audio level on alsa devices (if it
exists)?

Regards

Lutz

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

VolumeControl.gif (237K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: level meter for alsa

Stefan Sauer
hi,

Lutz Müller schrieb:

> Hello!
>
> I'd like to implement level meters within gnome-volume-control (mock-up
> attached). But in order to be able to implement that, the current audio
> levels on alsa devices need to be advertised by GStreamer.
>
> alsa-tools uses snd_ctl_elem_read and snd_ctl_elem_value_get_integer to
> read the current level on a specific alsa device. I couldn't find a
> reference to these functions in gst-plugins-base/ext/alsa.
>
> Can you point me to the right GStreamer element/interface that can be
> used by frontends to monitor the audio level on alsa devices (if it
> exists)?

IMHO it would require extending the GstMixer. I would like to see this feature,
as it helps to see on which channel something is happening.

Stefan

>
> Regards
>
> Lutz
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: level meter for alsa

Lutz Müller-2
On Thu, 2008-01-10 at 21:06 +0200, Stefan Kost wrote:
> Lutz Müller schrieb:
> > I'd like to implement level meters within gnome-volume-control (mock-up
> > attached). But in order to be able to implement that, the current audio
> > levels on alsa devices need to be advertised by GStreamer.
> >
> IMHO it would require extending the GstMixer. I would like to see this feature,
> as it helps to see on which channel something is happening.

I just opened a feature request:
http://bugzilla.gnome.org/show_bug.cgi?id=510654

Regards

Lutz


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel