[alsa-devel] Using aplay and arecord on an ARM

Frank Mandarino fmandarino at endrelia.com
Wed Jun 20 19:35:33 CEST 2007


Paul Kavan wrote:

...

> For alsa-libs:
> CC=arm-linux-gcc ./configure --target=arm-linux --host=i686-pc-linux-gnu
> --prefix=/usr

...

> However, I have been unable to achieve any kind of playback using
> speaker-test or aplay. The speaker pops like it wants to play, but I get the
> following when trying speaker test:
> 
> /dev/snd $ speaker-test -D default -r 8000 -f 1020 -F S8
> 
> speaker-test 1.0.14
> 
> Playback device is default
> Stream parameters are 8000Hz, S8, 1 channels
> Using 16 octaves of pink noise
> Rate set to 8000Hz (requested 8000Hz)
> Buffer size range from 64 to 32768
> Period size range from 32 to 8192
> Using max buffer size 32768
> Periods = 4
> was set period_size = 0
> was set buffer_size = 32768
> Unable to set sw params for playback: Invalid argument
> Setting of swparams failed: Invalid argument
> /dev/snd $
> 
> 
> Anyone know where I should look for the problem?

Hi Paul,

Try adding the option "--with-versioned=no" to the alsa-libs configure.

../fam
-- 
Frank Mandarino                                fmandarino(a)endrelia.com
Endrelia Technologies Inc.
Toronto, Ontario, Canada



More information about the Alsa-devel mailing list