Skip to contentSkip to conversation

Ameter plugin : looping sound

DISCUSSION [email protected] 2 participants 2 messages Dec 14, 2005

lore
Share & tools
lore
#0 lore raw

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_id865&op=click

#1 lore raw
Quoted 11 lines · On Wed, 2005-12-14 at 23:17 +0100, [email protected] 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 (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) .

Quoted 3 lines

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

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