[alsa-devel] OSS app works but aplay does not with SNDRV_PCM_FMTBIT_U32_LE

Clemens Ladisch cladisch at fastmail.net
Wed Sep 19 08:46:17 CEST 2007

Steve Strobel wrote:
> If I set up the snd_pcm_hardware_t structure with
>    .formats =          SNDRV_PCM_FMTBIT_U32_LE,
> the OSS test application sends a nice sine wave, but aplay fails with 
> the following messages:
> root:~> aplay < /dev/urandom
> ALSA sound/blackfin/ad1836.c:1050: snd_ad1836_playback_open
> Playing raw data 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
> snd_pcm_hw_refine()
> ACCESS = 00000000ffffffffffffffff -> 0000000000000008
> FORMAT = 0000000000000400 -> 0000000000000000

aplay tries to set S32_LE, but the driver doesn't accept it.

Where does this S32_LE come from?  Did you set up some devices in
~/.asoundrc or /etc/asound.conf, or did you create a card-specific .conf
file for your controller?  (I would guess that the "default" device is
set up to use dmix.)


More information about the Alsa-devel mailing list