Laurent Georget wrote:
> 
> karsten wiese wrote:
> > Laurent Georget:
> >
> >>  Hello,
> >>
> >>I 'd like to make a levelmeter program which would
> >>display sound card
> >>input/output
> >>while the audio device is opened by another program.
> >>I tried to use copy
> >>plugin  , but now (since 0.9.0rc3 ) the
> >>"snd_pcm_copy_open" give a "implicit
> >>declaration of function"
> >
> > hmm, it is still declared in
> > alsa-lib/include/pcm_plugin.h ...?
> >
> 
> Hmm..  my fault, just have to include pcm_plugin.h
> 
> >
> >
> > (there is a jack meter client @
> > http://plugin.org.uk/meterbridge/)
> >
> >
> > regards, karsten
> 
> Thanks for responding!
> 
> Ok , I have seen it , but  it works with jack compatible programs, and
> the levelmeter
> i'm aiming at should work with Glame , as an example .
> 
> Anyway I can now try to experiment the copy_plugin : would you know some
> program using
> this plugin, which would make the thing easier !
> 

The correct plugin has already been written and available inside
alsa-lib. 

The name is pcm_meter, it's lockless and perfectly integrated with ALSA
PCM chains.

A sample implementation for curses level meter is already available and
working.

It's very simple to add other *-meters, scopes, etc.

-- 
Abramo Bagnara                       mailto:[EMAIL PROTECTED]

Opera Unica                          Phone: +39.546.656023
Via Emilia Interna, 140
48014 Castel Bolognese (RA) - Italy


-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to