All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bo Shen <voice.shen@atmel.com>
To: Akshay Mishra <akshaymishra@gmail.com>,
	alsa-devel <alsa-devel@alsa-project.org>
Subject: Re: Fwd: Overrun Errors - SAM9G
Date: Tue, 22 Jul 2014 10:27:56 +0800	[thread overview]
Message-ID: <53CDCC2C.1010400@atmel.com> (raw)
In-Reply-To: <CABSY_Zsh44D19KtDYkc6ozSsxKpTk+cQJiy4rEGKqWgbv_a=tQ@mail.gmail.com>

Hi Akshay,

On 07/17/2014 08:54 PM, Akshay Mishra wrote:
> Hello,
>      I am trying a simple alsa capture on the Atmel ARM9 (SAM9G45). While
> only capture runs fine, putting any os call on the same thread gives XRUNs.
>
> Even a innocent usleep(1) seems to lead to regular XRUNs. Eventually I want
> to dump this capture on the serial port and I am not able to get past this.

Do you test with alsa utils. If yes, where you add the usleep(1) in code?

> I have tried on AT91 linux as well as on kernel 3.10.10-rt7 with no success.

I try both kernel and don't reproduce this issue with alsa utils.

> Please advice,
> Akshay

Best Regards,
Bo Shen

  parent reply	other threads:[~2014-07-22  2:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CABSY_ZsjSaZQA+KadBWnzR-9=YQby-Fnb9ZpBGZpXHtVsZZXMw@mail.gmail.com>
2014-07-17 12:54 ` Fwd: Overrun Errors - SAM9G Akshay Mishra
2014-07-17 16:09   ` Akshay Mishra
2014-07-22  2:27   ` Bo Shen [this message]
2014-07-22  2:38     ` Fwd: " Akshay Mishra
2014-07-22  6:02       ` Bo Shen
2014-07-22  6:20         ` Akshay Mishra

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=53CDCC2C.1010400@atmel.com \
    --to=voice.shen@atmel.com \
    --cc=akshaymishra@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /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.