[alsa-devel] simple program for capturing and playing pcm

Pavel Hofman pavel.hofman at ivitera.com
Mon Jul 26 10:54:13 CEST 2010


loody napsal(a):
> hi:
> 
> 2010/7/26 Pavel Hofman <pavel.hofman at ivitera.com>:
>> loody napsal(a):
>>> Dear all:
>>> Is there simple program which can help me to play and capture pcm
>>> files from usb speaker and mic?
>>> appreciate your help,
>>> miloody
>> aplay, arecord
> I found them in alsa-utility :)
> but when I try to configure them, I get following messages:
> 
> checking for form.h... yes
> checking for new_panel in -lpanelw... no
> configure: error: panelw library not found
> 
> but I list the /usr/lib, I see
> $ ls /usr/lib/libpanel* -lht
> lrwxrwxrwx 1 root root  27 2009-11-11 07:59
> /usr/lib/libpanel-applet-2.so.0 -> libpanel-applet-2.so.0.2.60
> lrwxrwxrwx 1 root root  16 2009-11-11 07:52 /usr/lib/libpanelw.so.5 ->
> libpanelw.so.5.7
> lrwxrwxrwx 1 root root  15 2009-11-11 07:52 /usr/lib/libpanel.so.5 ->
> libpanel.so.5.7
> lrwxrwxrwx 1 root root  13 2009-11-11 00:41 /usr/lib/libpanel.so ->
> libpanel.so.5
> -rw-r--r-- 1 root root 51K 2009-10-19 22:00 /usr/lib/libpanel-applet-2.so.0.2.60
> -rw-r--r-- 1 root root 19K 2009-10-12 21:12 /usr/lib/libpanel.a
> -rw-r--r-- 1 root root 14K 2009-10-12 21:12 /usr/lib/libpanel.so.5.7
> -rw-r--r-- 1 root root 14K 2009-10-12 21:12 /usr/lib/libpanelw.so.5.7
> $
> 
> did I miss something?
> I try to run the aplay/arecord under console and if I guess correctly,
> I don't need panelw lib. if so, how could I disable it?
> appreciate your help,
> miloody
> 
> what is panelw

Those are ncurses libs required by alsamixer. Try

./configure --disable-alsamixer --disable-alsaconf

That has worked for me, ubuntu 9.10.

Pavel.


More information about the Alsa-devel mailing list