Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Abramo Bagnara <abramo.bagnara@libero.it>
To: Laurent Georget <lgeorget2@club-internet.fr>
Cc: karsten wiese <annabellesgarden@yahoo.de>,
	Devel Alsa <alsa-devel@lists.sourceforge.net>
Subject: Re: help for a levelmeter
Date: Thu, 17 Oct 2002 09:10:36 +0200	[thread overview]
Message-ID: <3DAE626C.7601185C@libero.it> (raw)
In-Reply-To: 3DADC922.5000808@club-internet.fr

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:abramo.bagnara@libero.it

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

  reply	other threads:[~2002-10-17  7:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-15 21:15 help for a levelmeter Laurent Georget
2002-10-15 22:40 ` karsten wiese
2002-10-16 20:16   ` Laurent Georget
2002-10-17  7:10     ` Abramo Bagnara [this message]
2002-10-17 17:59       ` Jack O'Quin
2002-10-17 18:42         ` Patrick Shirkey
2002-10-17 20:48         ` Abramo Bagnara
2002-10-18  9:27           ` Laurent Georget
2002-10-18 12:27             ` Abramo Bagnara
2002-10-18 20:59               ` Laurent Georget
  -- strict thread matches above, loose matches on Subject: below --
2002-10-16 22:42 karsten wiese
     [not found] <3DAC1C6C000947E6@ims5a.libero.it>
2002-10-17 21:24 ` Abramo Bagnara
     [not found] <3DAC1C6C000959C1@ims5a.libero.it>
2002-10-17 21:56 ` Abramo Bagnara
2002-10-18  3:25   ` Patrick Shirkey
     [not found] <20021016220528.EF3E0E081@relay-4m.club-internet.fr>
2002-10-18  9:00 ` Laurent Georget

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DAE626C.7601185C@libero.it \
    --to=abramo.bagnara@libero.it \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=annabellesgarden@yahoo.de \
    --cc=lgeorget2@club-internet.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox