All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Clemens Ladisch" <cladisch@fastmail.net>
To: Markus Franke <markus.franke@s2002.tu-chemnitz.de>,
	alsa-devel@alsa-project.org
Subject: Re: DMA buffer gets played only once
Date: Wed, 05 Sep 2007 11:04:39 +0200	[thread overview]
Message-ID: <1188983079.7844.1208974467@webmail.messagingengine.com> (raw)
In-Reply-To: <46DE4AB1.20206@hrz.tu-chemnitz.de>

Markus Franke wrote:
> It seems like that after the 8th period is transferred
> pcm_trigger(TRIGGER_STOP) isn't getting called. 

Indeed.  The stop trigger is called when the entire stream is
to be stopped.

When the start trigger has been called, the hardware (or the driver) is
responsible for playing the ring buffer _repeatedly_.   If the hardware
doesn't do this automatically, the driver has to reprogram it.


HTH
Clemens

  reply	other threads:[~2007-09-05  9:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-05  6:20 DMA buffer gets played only once Markus Franke
2007-09-05  9:04 ` Clemens Ladisch [this message]
2007-09-05  9:17   ` Markus Franke
2007-09-05 12:55     ` Takashi Iwai
2007-09-06  4:36       ` Markus Franke
2007-09-06  5:14         ` Trent Piepho
2007-09-06  6:10           ` Markus Franke
2007-09-06  6:27             ` Markus Franke
2007-09-06 10:56               ` Takashi Iwai
2007-09-06 13:39               ` Trent Piepho

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=1188983079.7844.1208974467@webmail.messagingengine.com \
    --to=cladisch@fastmail.net \
    --cc=alsa-devel@alsa-project.org \
    --cc=markus.franke@s2002.tu-chemnitz.de \
    /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.