[alsa-devel] Compiler errors in alsa-lib-1.0.22/test/*.c

Clemens Ladisch clemens at ladisch.de
Wed Jul 21 08:58:08 CEST 2010


John Simpson wrote:
> Playback open error: Inappropriate ioctl for device

Make sure that both your kernel and your alsa-lib use the correct
compiler and compiler flags (where "correct" usually means "whatever
the vendor's distribution uses").

> This time, checking out https://vcs.maemo.org/svn/dsp-alsa

It would be nice to know what the changes from the original alsa-lib
are; in theory, they should go upstream.

> $ cd dsp-alsa/trunk/alsa-lib
> #### cvscompile does not succeed

Why?

> $ .libs/pcm -D 'default' -vf 440
> Playback device is default
> Stream parameters are 44100Hz, S16_LE, 1 channels
> Sine wave rate is 440.0000Hz
> Using transfer method: write
> 
> Still no sound :-(

Mixer controls not set?  (amixer and alsamixer are in alsa-utils)


Regards,
Clemens


More information about the Alsa-devel mailing list