All of lore.kernel.org
 help / color / mirror / Atom feed
* Ameter plugin : looping sound
@ 2005-12-14 22:17 laugeo2
  2005-12-14 22:25 ` Lee Revell
  0 siblings, 1 reply; 3+ messages in thread
From: laugeo2 @ 2005-12-14 22:17 UTC (permalink / raw)
  To: alsa-devel

Hi,
 Ameter  is a metering plugin for Alsa :
http://laugeo.free.fr/ameter.html
 It stopped working since 1.0.10,and also fails with 1.0.11rc1 (was ok with
1.0.9) :
Playing a sound with aplay (or any other program) cause  a short sound looping
in audio out ,while  peakmeter displays the real soundfile level .
 It seems that the looping sound is the end of the last played sound .
 I have Mandriva 2005 (2.6.11 standard kernel),  ens1371 sound card.
Somenone else has reported the problem ( I don't know his config) .

Test command:
aplay -D ameter sound.wav -v
It returns no error.

My .asoundrc:

pcm_scope.ameter {
        type ameter
}
pcm_scope_type.ameter {
        lib /usr/local/lib/libameter.so
}
pcm.ameter {
        type meter
        slave.pcm  hw
        scopes.0 ameter
}
pcm.dsp0 ameter

Thanks for any idea !
Laurent Georget


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: Ameter plugin : looping sound
@ 2005-12-21 22:29 laugeo2
  0 siblings, 0 replies; 3+ messages in thread
From: laugeo2 @ 2005-12-21 22:29 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org; +Cc: rlrevell

> >Hi,
> >Ameter  is a metering plugin for Alsa :
> >http://laugeo.free.fr/ameter.html
> > It stopped working since 1.0.10,and also fails with 1.0.11rc1 (was ok with
> >1.0.9) :
> >Playing a sound with aplay (or any other program) cause  a short sound
looping
> >in audio out ,while  peakmeter displays the real soundfile level .
> > It seems that the looping sound is the end of the last played sound .
> > I have Mandriva 2005 (2.6.11 standard kernel),  ens1371 sound card.
> >Somenone else has reported the problem ( I don't know his config) .
> >
> >Test command:
> >aplay -D ameter sound.wav -v
> >It returns no error.

>The easiest solution is to use ALSA CVS to do a binary search and find
>out exactly which commit broke it.
>
>I like to go by date as not all releases get tagged in CVS:
>
>cvs update -D2005-11-01 -A
>etc
>Lee

It is ok on 2005-09-02 and broken on 2005-09-03
Changing only alsa-lib  makes the problem to appear.

The files that are updated between 09-02 and 09-03:
U alsa-lib/src/pcm/pcm_file.c
U alsa-lib/src/pcm/pcm_generic.c
U alsa-lib/src/pcm/pcm_generic.h
U alsa-lib/src/pcm/pcm_local.h
U alsa-lib/src/pcm/pcm_mmap.c
U alsa-lib/src/pcm/pcm_null.c
U alsa-lib/src/pcm/pcm_plug.c
U alsa-lib/src/pcm/pcm_rate.c
U alsa-lib/src/pcm/pcm_softvol.c

May be it is enough for you, or I can search more exactly
which file(s) are bad for the meter.
Regards

Laurent


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-12-21 22:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-14 22:17 Ameter plugin : looping sound laugeo2
2005-12-14 22:25 ` Lee Revell
  -- strict thread matches above, loose matches on Subject: below --
2005-12-21 22:29 laugeo2

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.