On 7/19/10, Clemens Ladisch clemens@ladisch.de wrote:
John Simpson wrote:
[1|user@Nokia-N810-43-7|~/alsa-lib-1.0.23/test]cc -lasound control.c -o control
These test programs can be compiled with "make check".
Thanks! I needed that :-D Works good on my ubuntu system.
[1|user@Nokia-N810-43-7|~/alsa-lib-1.0.23/test]./control PCM next device error: Inappropriate ioctl for device
On embedded devices, this usually happens when the library is not compiled with the same machine architecture options as the kernel, which makes some structures have a different size due to different sizes for 'long' or different alignment.
Somewhere in the mess, I bricked my n810. I'm trying this time with https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/alsa-lib/test/?roo... but I'm still having no success ( see inquiry at https://garage.maemo.org/pipermail/dsp-alsa-user/2010-July/000002.html )
j