Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Georget <lgeorget2@club-internet.fr>
To: Devel Alsa <alsa-devel@lists.sourceforge.net>
Subject: Re: help for a levelmeter
Date: Fri, 18 Oct 2002 11:27:05 +0200	[thread overview]
Message-ID: <3DAFD3E9.8090400@club-internet.fr> (raw)
In-Reply-To: 3DAF2236.EA2A74BD@libero.it

Abramo Bagnara wrote:
> 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 ;-)))
> 

Excellent!

Well, you wrote  that there is a sample implementation of this pcm_meter ,
but I can't find it (searched in alsa tools / utils , and searched  with 
google with no good result)

Anyway, i'm going on trying to use it

Thanks

Laurent




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  reply	other threads:[~2002-10-18  9:27 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
2002-10-18  9:27           ` Laurent Georget [this message]
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=3DAFD3E9.8090400@club-internet.fr \
    --to=lgeorget2@club-internet.fr \
    --cc=alsa-devel@lists.sourceforge.net \
    /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