On Sat, Nov 08, 2003 at 08:32:55PM +0100, Jaroslav Kysela wrote:
> On Sat, 8 Nov 2003, Martin Langer wrote:
> 
> > On Sat, Nov 08, 2003 at 08:04:43PM +0100, Jaroslav Kysela wrote:
> > > >
> > > > aplay/arecord doesn't work at the moment:
> > > >
> > > > Playing WAVE '/tmp/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
> > > > Stereo
> > > > aplay: set_params:874: Unable to install hw params:
> > > > ACCESS:  RW_INTERLEAVED
> > >
> > > Could you post details? Please, send me output from:
> >
> > sure.
> >
> > > nm /usr/bin/aplay | grep rate
> >
> > tuba:/usr/local/src/alsa-cvs/alsa-utils/aplay# nm /usr/bin/aplay | grep rate
> >          U snd_pcm_hw_params_set_rate_near@@ALSA_0.9
> >
> > > nm /usr/lib/libasound.so.2 | grep set_rate
> >
> > tuba:/usr/local/src/alsa-cvs/alsa-utils/aplay# nm
> > /usr/lib/libasound.so.2 | grep set_rate
> > 0003c980 t __old_snd_pcm_hw_params_set_rate_first
> > 0003cbe8 t __old_snd_pcm_hw_params_set_rate_last
> > 0003c718 t __old_snd_pcm_hw_params_set_rate_near
> > 00038dac T __snd_pcm_hw_params_set_rate_first
> > 00038ddc T __snd_pcm_hw_params_set_rate_last
> > 00038d7c T __snd_pcm_hw_params_set_rate_near
> > 00038cb8 T snd_pcm_hw_params_set_rate
> > 0003c980 T snd_pcm_hw_params_set_rate_first@@ALSA_0.9
> > 00038dac T [EMAIL PROTECTED]
> > 0003cbe8 T snd_pcm_hw_params_set_rate_last@@ALSA_0.9
> > 00038ddc T [EMAIL PROTECTED]
> > 00038d18 T snd_pcm_hw_params_set_rate_max
> > 00038ce8 T snd_pcm_hw_params_set_rate_min
> > 00038d48 T snd_pcm_hw_params_set_rate_minmax
> > 0003c718 T snd_pcm_hw_params_set_rate_near@@ALSA_0.9
> > 00038d7c T [EMAIL PROTECTED]
> 
> I'm a bit confused now. It appears that you have old libraries and aplay
> (this combination should work, of course). New code should type:
> 
> [EMAIL PROTECTED]:~/alsa/alsa-lib> nm /usr/bin/aplay | grep rate
>          U snd_pcm_hw_params_set_rate_near@@ALSA_0.9.0rc4
> 
> [EMAIL PROTECTED]:~/alsa/alsa-lib> nm /usr/lib/libasound.so.2 | grep set_rate_near
> 0003f590 t __old_snd_pcm_hw_params_set_rate_near
> 0003b680 T __snd_pcm_hw_params_set_rate_near
> 0003b680 T snd_pcm_hw_params_set_rate_near@@ALSA_0.9.0rc4
> 0003f590 T [EMAIL PROTECTED]
> 

I was using latest CVS. But building alsa-lib failed in the last time, but
I've ignored it the whole time. All other alsa-* (including utils) were built
successfully. That's the situation of: new aplay and old lib.


This is the bug in "alsa-lib/src/conf/cards/Makefile.am":
Make uses the directory name "SI7018" two times which fails.

/bin/sh ../../../mkinstalldirs /usr/share/alsa/cards/SI7018
 /usr/bin/install -c -m 644 ./SI7018/sndoc-mixer.alisp
/usr/share/alsa/cards/SI7018/SI7018/sndoc-mixer.alisp
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/bin/install: cannot create regular file
/usr/share/alsa/cards/SI7018/SI7018/sndoc-mixer.alisp': No such file or
directory
 /usr/bin/install -c -m 644 ./SI7018/sndop-mixer.alisp
/usr/share/alsa/cards/SI7018/SI7018/sndop-mixer.alisp
/usr/bin/install: cannot create regular file
/usr/share/alsa/cards/SI7018/SI7018/sndop-mixer.alisp': No such file or
directory
make[5]: *** [install-SI7018DATA] Error 1


After fixing that bug, alsa-lib was installed with success and aplay runs
fine now! And it was a new aplay binary all the time! Sorry.

Thanks.
martin


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to