Jack O'Quin wrote:
>
> Abramo Bagnara <[EMAIL PROTECTED]> 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
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel