From: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
To: alsa-devel@lists.sourceforge.net
Subject: Re: aplay and arecord can't set sw params
Date: Fri, 12 May 2006 13:15:50 +0200 [thread overview]
Message-ID: <44646E66.6060704@atmel.com> (raw)
In-Reply-To: <4462DBE7.7010900@atmel.com>
Hans-Christian Egtvedt wrote:
> Takashi Iwai wrote:
>> At Wed, 10 May 2006 16:18:24 +0200,
>> Hans-Christian Egtvedt wrote:
>>> Does this output give any signs of where the error is?
>>>
>>> ~ # aplay /stk1000/gorillaz.wav
>>> Playing WAVE '/stk1000/gorillaz.wav' : Signed 16 bit Little Endian, Rate
>>> 48000 Hz, Stereo
>>> aplay: set_params:1012: unable to install sw params:
>>> start_mode: DATA
>>> xrun_mode: STOP
>>> tstamp_mode: NONE
>>> period_step: 1
>>> sleep_min: 0
>>> avail_min: 0
>>> xfer_align: 0
>> avail_min and xfer_align should be the period size. So, something
>> wrong in alsa-lib or in aplay code.
>
> Keep in mind my recent fix for the enum vs. int problem. I'm still
> working on the AVR32 plattform. The soundcard is the embedded AC97
> controller inside the device (AP7000) and the external codec is a
> National Semiconductor LM4549A.
>
> I'll try digging into the code (aplay/alsalib) and see why the
> xfer_align and avail_min is not set.
I have found a workaround for the issue by compiling alsa-lib static. It
seems like the references to the variables are not set when aplay is
dynamicly linked with alsa-lib.
Actually not sure if it's either the GCC compiler which does something
wrong, a bad parameter while configuring or something in the code that
causes this.
<snip>
--
With kind regards,
Med vennlig hilsen,
Hans-Christian Egtvedt
Applications Engineer - AVR Applications Lab
Atmel Norway
-------------------------------------------------------
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
prev parent reply other threads:[~2006-05-12 11:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-10 14:18 aplay and arecord can't set sw params Hans-Christian Egtvedt
2006-05-10 15:24 ` Takashi Iwai
2006-05-11 6:38 ` Hans-Christian Egtvedt
2006-05-12 11:15 ` Hans-Christian Egtvedt [this message]
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=44646E66.6060704@atmel.com \
--to=hcegtvedt@atmel.com \
--cc=alsa-devel@lists.sourceforge.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox