All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lu Guanqun <guanqun.lu@intel.com>
To: preetam <preetamsashankreddy@gmail.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: aplay throws error
Date: Sat, 7 May 2011 22:29:34 +0800	[thread overview]
Message-ID: <20110507142934.GD13216@qtel.sh.intel.com> (raw)
In-Reply-To: <4DC4F447.4040607@gmail.com>

On Sat, May 07, 2011 at 03:27:03PM +0800, preetam wrote:
> Hai,
> 
> My aplay throws the following error:
> 
> Playing WAVE 'Linkin Park - New divide.wav' : Signed 16 bit Little 
> Endian, Rate 44100 Hz, Stereo
> aplay: aplay.c:1029: set_params: Assertion `err >= 0' failed.

Hi,

What's your version of alsa-utils?
I don't see the assert(err >= 0) on line 1029 on the latest repository
code.

Well, if this utilizes your newly written driver, I would suggest you
insert some logs in your hw_params callback in driver. It might actually
be your driver's mis-behavour.

I'm not an expert on alsa, so it's just my 2 cents...

> Aborted by signal Aborted...
> 
> 
> I am using a pandaboard. Kernel is 2.6.35 from omap tree L27.11.1.
> 
> I am new to alsa and I have written an soc driver for this.
> can anyone help me.
> 
> I can only trace the function calls to alloca. I am blank from here on.
> 
> Regards,
> Preetam
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

-- 
guanqun

  reply	other threads:[~2011-05-07 14:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-07  7:27 aplay throws error preetam
2011-05-07 14:29 ` Lu Guanqun [this message]
2011-05-07 17:27   ` preetam
2011-05-09  0:31     ` Lu Guanqun
2011-05-09  9:54       ` preetam
2011-05-10  5:01       ` preetam

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=20110507142934.GD13216@qtel.sh.intel.com \
    --to=guanqun.lu@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=preetamsashankreddy@gmail.com \
    /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.