Skip to contentSkip to conversation

problem with alsa "ameter" plugin ?

DISCUSSION Case van Rij 1 participant 2 messages Jul 9, 2003

lore
Share & tools
lore
#0 lore raw

Laurent Georget reported a problem with alsa "level" and "ameter" plugins earlier, I'm not sure this problem is related since it doesn't seem to involve pcm_wait.. but Im still relativly unfamiliar with the inner workings of the code.

I'm using ameter 0.3 with alsa-* 0.9.3 and 0.9.4 which works fine on 2 of my systems with snd-ens1371, but I cant seem to get it to work on otherwise identical systems that use snd-hdsp and snd-rme9652

Ive tried setting up ameter on either hw:0,0 and plug:hw:0 and running:

arecord -D ameter -t wav -c 18 -r 44100 -f S16_LE file.wav

which fails with
pcm_mmap.c:137: snd_pcm_mmap_read_areas:
Assertion snd_pcm_mmap_capture_avail(pcm) >= size)

Any ideas what's going on here ?

Thanks,
Case

-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps

#1 lore raw
Quoted 10 lines · Case van Rij

Laurent Georget reported a problem with alsa "level" and "ameter" plugins earlier, I'm not sure this problem is related since it doesn't seem to involve pcm_wait.. but Im still relativly unfamiliar with the inner workings of the code.

I'm using ameter 0.3 with alsa-* 0.9.3 and 0.9.4 which works fine on 2 of my systems with snd-ens1371, but I cant seem to get it to work on otherwise identical systems that use snd-hdsp and snd-rme9652

Quoted 7 lines

Ive tried setting up ameter on either hw:0,0 and plug:hw:0 and running:

arecord -D ameter -t wav -c 18 -r 44100 -f S16_LE file.wav

which fails with
pcm_mmap.c:137: snd_pcm_mmap_read_areas:
Assertion snd_pcm_mmap_capture_avail(pcm) >= size)

As a matter of fact, it appears snd_pcm_mmap_capture_avail(pcm) is 0

Case

Quoted 8 lines

Any ideas what's going on here ?

Thanks,
Case

Quoted 9 lines

-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps