Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: "Aggarwal, Anuj" <anuj.aggarwal@ti.com>
Cc: alsa-devel@alsa-project.org, suresh.raj@gmail.com
Subject: Re: How to do pause/resume in ALSA application
Date: Thu, 06 Mar 2008 11:35:54 +0100	[thread overview]
Message-ID: <47CFC90A.4000604@ladisch.de> (raw)
In-Reply-To: <010C7BAE6783F34D9AC336EE5A01A0880575FA06@dbde01.ent.ti.com>

(please don't top-post)
Aggarwal, Anuj wrote:
> Are you suggesting a bug in the driver or in the library?

Yes.

> I passed "plughw:0,0" as the device name.

The plug plugin doesn't do funny things with pausing, so the bug must
be in the driver.

> We have our own driver for the audio codec, written as per the ALSA
> framework.

I'd guess that the SNDRV_PCM_INFO_PAUSE flag is set, but that the
trigger callback doesn't implement SNDRV_PCM_TRIGGER_PAUSE_PUSH/RELEASE.


HTH
Clemens

      reply	other threads:[~2008-03-06 10:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-05  9:20 How to do pause/resume in ALSA application Aggarwal, Anuj
2008-03-05 15:53 ` Clemens Ladisch
2008-03-05 19:14   ` Aggarwal, Anuj
2008-03-06 10:35     ` Clemens Ladisch [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=47CFC90A.4000604@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=anuj.aggarwal@ti.com \
    --cc=suresh.raj@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox