All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Clemens Ladisch" <cladisch@fastmail.net>
To: Sven Geggus <sven@geggus.net>, alsa-devel@lists.sourceforge.net
Subject: Re: Bug: aplay/alsa-lib problem on mips (openwrt, uclibc)
Date: Thu, 24 Aug 2006 10:34:02 +0200	[thread overview]
Message-ID: <1156408442.3263.269301419@webmail.messagingengine.com> (raw)
In-Reply-To: <eciaah$qi9$1@ultimate100.geggus.net>

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

  parent reply	other threads:[~2006-08-24  8:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23 19:29 Bug: aplay/alsa-lib problem on mips (openwrt, uclibc) Sven Geggus
2006-08-23 20:00 ` Markus Rechberger
2006-08-24  8:34 ` Clemens Ladisch [this message]
2006-08-24 15:41   ` Sven Geggus
2006-08-24 12:43 ` Jaroslav Kysela
2006-08-24 16:55   ` Sven Geggus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1156408442.3263.269301419@webmail.messagingengine.com \
    --to=cladisch@fastmail.net \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=sven@geggus.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.