Re: Bug: aplay/alsa-lib problem on mips (openwrt, uclibc)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sven Geggus wrote:
> I almost succeeded in running alsa (1.0.11/snd-usb-audio) on openwrt (Kernel
> 2.4.32, uClibc-0.9.28). While OSS emulation is working aplay just
> generates an error:
> 
> # /usr/local/bin/aplay -f cd -t raw </dev/urandom 
> Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
> aplay: set_params:1012: unable to install sw params:
> ...
> xfer_align: 718523216

This value is impossible.

I would guess that the kernel and alsa-lib have not been compiled with the
same compiler or compiler options, i.e., some structure layouts are
different.

Please check that sizeof(struct snd_pcm_sw_params) is the same in the kernel
and in userspace, and/or print out the values in *params in the
snd_pcm_sw_params() function in alsa-kernel/core/pcm_native.c.


HTH
Clemens

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux