* simple program for capturing and playing pcm @ 2010-07-26 7:39 loody 2010-07-26 7:40 ` Pavel Hofman 0 siblings, 1 reply; 6+ messages in thread From: loody @ 2010-07-26 7:39 UTC (permalink / raw) To: alsa-devel 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: simple program for capturing and playing pcm 2010-07-26 7:39 simple program for capturing and playing pcm loody @ 2010-07-26 7:40 ` Pavel Hofman 2010-07-26 8:29 ` loody 0 siblings, 1 reply; 6+ messages in thread From: Pavel Hofman @ 2010-07-26 7:40 UTC (permalink / raw) To: loody; +Cc: alsa-devel 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: simple program for capturing and playing pcm 2010-07-26 7:40 ` Pavel Hofman @ 2010-07-26 8:29 ` loody 2010-07-26 8:54 ` Pavel Hofman 0 siblings, 1 reply; 6+ messages in thread From: loody @ 2010-07-26 8:29 UTC (permalink / raw) To: Pavel Hofman; +Cc: alsa-devel hi: 2010/7/26 Pavel Hofman <pavel.hofman@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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: simple program for capturing and playing pcm 2010-07-26 8:29 ` loody @ 2010-07-26 8:54 ` Pavel Hofman 2010-07-26 14:10 ` loody 2010-07-27 13:49 ` Alfs Kurmis 0 siblings, 2 replies; 6+ messages in thread From: Pavel Hofman @ 2010-07-26 8:54 UTC (permalink / raw) To: loody; +Cc: alsa-devel loody napsal(a): > hi: > > 2010/7/26 Pavel Hofman <pavel.hofman@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. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: simple program for capturing and playing pcm 2010-07-26 8:54 ` Pavel Hofman @ 2010-07-26 14:10 ` loody 2010-07-27 13:49 ` Alfs Kurmis 1 sibling, 0 replies; 6+ messages in thread From: loody @ 2010-07-26 14:10 UTC (permalink / raw) To: Pavel Hofman; +Cc: alsa-devel Hi Pavel: thanks for your help :) 2010/7/26 Pavel Hofman <pavel.hofman@ivitera.com>: > loody napsal(a): >> hi: >> >> 2010/7/26 Pavel Hofman <pavel.hofman@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. I can compile it under ubuntu right now. I list some questions about alsa: 1. when I try to cross-cmpile alsa-lib-1.0.23, it cmplain aserver.o: In function `pcm_shm_cmd': aserver.c:(.text+0x1f08): warning: Warning: snd_pcm_hwsync() is deprecated, consider to use snd_pcm_avail() ../src/.libs/libasound.so: undefined reference to `atomic_sub' ../src/.libs/libasound.so: undefined reference to `atomic_add' collect2: ld returned 1 exit status make[1]: *** [aserver] Error 1 and I find the atomic_sub is define in include/iatomic.h which is implemented by different kind of arch. the host I set is mipsel-linux and I see -D__mips__ appears when I cross-compile the source. And atomic_sub should be found already, but why it still complain not finding the function? 2. what nodes should I build under /dev when I try to run the alsa-util? 3. is there any tool I can generate raw, pcm, data such that I can apay it? appreciate your help, miloody ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: simple program for capturing and playing pcm 2010-07-26 8:54 ` Pavel Hofman 2010-07-26 14:10 ` loody @ 2010-07-27 13:49 ` Alfs Kurmis 1 sibling, 0 replies; 6+ messages in thread From: Alfs Kurmis @ 2010-07-27 13:49 UTC (permalink / raw) To: alsa-devel Hi developers. I wanna ask : Is (n)curses really so necessary ? Of course i like Frames and shadows in konsole , but alsaconf uses not so smart TUI as (for example) midnight commander. In this case maybe good enough are terminal escape codes for  background and text colors , also for set text position. Smth like this : http://martini.pudele.com/radio/programming/conio.h http://martini.pudele.com/radio/programming/ac.h http://martini.pudele.com/radio/programming/ac_test.c Tnx in advance Alfs Kurmis > ---- ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-07-27 13:49 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-07-26 7:39 simple program for capturing and playing pcm loody 2010-07-26 7:40 ` Pavel Hofman 2010-07-26 8:29 ` loody 2010-07-26 8:54 ` Pavel Hofman 2010-07-26 14:10 ` loody 2010-07-27 13:49 ` Alfs Kurmis
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox