From: laugeo2@free.fr Subject: Re: Re: Ameter plugin : looping sound Date: Thu, 22 Dec 2005 23:06:08 +0100 Message-ID: <1135289168.43ab23509272f@imp1-g19.free.fr> References: <1135204156.43a9d73c43032@imp3-g19.free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Takashi Iwai Cc: alsa-devel@lists.sourceforge.net, rlrevell@joe-job.com List-Id: alsa-devel@alsa-project.org Selon Takashi Iwai : > At Wed, 21 Dec 2005 23:29:16 +0100, > laugeo2@free.fr wrote: > > > > > >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 (wa= s ok > with > > > >1.0.9) : > > > >Playing a sound with aplay (or any other program) cause a short s= ound > > looping > > > >in audio out ,while peakmeter displays the real soundfile level . > > > > It seems that the looping sound is the end of the last played sou= nd . > > > > I have Mandriva 2005 (2.6.11 standard kernel), ens1371 sound car= d. > > > >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 fi= nd > > >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 > > The patch below should fix your problem. It's already committed to > CVS. > > > thanks, > > Takashi > Ok now. Thanks to you 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_id=7637&alloc_id=16865&op=click