From: "Clemens Ladisch" <cladisch@fastmail.net>
To: "Pharaoh ." <pharaoh137@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Input/output error while playing a file using aplay
Date: Mon, 25 Jun 2007 13:00:39 +0200 [thread overview]
Message-ID: <1182769239.15228.1196888507@webmail.messagingengine.com> (raw)
In-Reply-To: <61445c750706250156p42de468vecbf7ca4f373f2b0@mail.gmail.com>
Pharaoh . wrote:
> >The ALSA framework will stop the stream and return the error code EIO
> >when there was no interrupt for ten seconds, i.e., when
> >snd_pcm_period_elapsed() was not called.
>
> I am getting the interrupts, but why there wont be any interrupt for
> 10 seconds?
I don't quite understand this sentence. You do get interrupts?
And snd_pcm_period_elapsed() is not called?
> I am setting the periods in prepare as periods = runtime->period, so
> interrupts should at period boundaries.
runtime->periods is the number of periods. I don't know how your
hardware works, but I guess it wants to know the period size, i.e.,
runtime->period_size converted to bytes.
Regards,
Clemens
next prev parent reply other threads:[~2007-06-25 11:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-22 20:12 Input/output error while playing a file using aplay Pharaoh .
2007-06-22 23:16 ` Pharaoh .
2007-06-25 6:56 ` Clemens Ladisch
2007-06-25 8:56 ` Pharaoh .
2007-06-25 11:00 ` Clemens Ladisch [this message]
2007-06-25 12:04 ` Pharaoh .
2007-06-25 13:35 ` Pharaoh .
2007-06-25 18:38 ` Pharaoh .
2007-06-26 7:21 ` Clemens Ladisch
2007-06-26 10:51 ` Pharaoh .
2007-06-26 10:55 ` Pharaoh .
2007-06-26 11:04 ` Pharaoh .
2007-06-26 13:17 ` Clemens Ladisch
2007-06-26 13:43 ` Pharaoh .
2007-06-26 17:17 ` Pharaoh .
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=1182769239.15228.1196888507@webmail.messagingengine.com \
--to=cladisch@fastmail.net \
--cc=alsa-devel@alsa-project.org \
--cc=pharaoh137@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.