Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Abramo Bagnara <abramo.bagnara@libero.it>
To: Jack O'Quin <joq@io.com>
Cc: Laurent Georget <lgeorget2@club-internet.fr>,
	karsten wiese <annabellesgarden@yahoo.de>,
	Devel Alsa <alsa-devel@lists.sourceforge.net>
Subject: Re: help for a levelmeter
Date: Thu, 17 Oct 2002 22:48:54 +0200	[thread overview]
Message-ID: <3DAF2236.EA2A74BD@libero.it> (raw)
In-Reply-To: 87r8ep9ca1.fsf@sulphur.joq.us

Jack O'Quin wrote:
> 
> Abramo Bagnara <abramo.bagnara@libero.it> writes:
> 
> > 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.
> 
> That's great!
> 
> Is there any user-level documentation for all this cool stuff?

Ehm... guess what...

No, wait: I wrote some lines in asoundrc.txt:

  type meter            # Meter PCM
  slave STR             # Slave name (see pcm_slave)
  # or
  slave {               # Slave definition or name
    pcm STR             # Slave PCM name
    # or
    pcm { }             # Slave PCM definition
  }
  [frequency INT]       # Updates per second
  scopes {              # Scopes
    ID STR              # Scope name (see pcm_scope)
  # or
    ID { }              # Scope definition (see pcm_scope)
  }

# PCM scope type definition
pcm_scope_type.NAME {
  [lib STR]             # Library file (default libasound.so)
  [open STR]            # Open function (default
_snd_pcm_scope_NAME_open)
}

# PCM scope definition
pcm_scope.NAME {
  type STR              # Scope type
  ...
}

The rest is obvious, of course ;-)))

-- 
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

  parent reply	other threads:[~2002-10-17 20:48 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
2002-10-17 17:59       ` Jack O'Quin
2002-10-17 18:42         ` Patrick Shirkey
2002-10-17 20:48         ` Abramo Bagnara [this message]
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=3DAF2236.EA2A74BD@libero.it \
    --to=abramo.bagnara@libero.it \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=annabellesgarden@yahoo.de \
    --cc=joq@io.com \
    --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