public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel.com>
To: Andy Ng <andreas2025@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Alsa triggering methods
Date: Wed, 6 May 2015 16:35:00 +0530	[thread overview]
Message-ID: <20150506110500.GT3521@localhost> (raw)
In-Reply-To: <CAAVaN8wvo4Aq_ij1K_Nt2Jnc6qO8XDsd5X2hvsFKSAzQhbts2A@mail.gmail.com>

On Wed, Apr 29, 2015 at 04:24:09PM +0100, Andy Ng wrote:
> Hi,
> 
> I am working on a ALSA card driver that handles a DSP instance. The
> problem I have is that the triggering mechanism in ALSA to start a PCM
> has the interrupts disabled, and my dsp framework is actually
> acknowledging the start trigger with an event after 50 microseconds
> time that I can't handle because the IRQs are disabled.
> 
> Is there any way when the trigger mechanism goes down to the card to
> be able to handle any acknowledgements what will happen within a sort
> period of time.
> 
> I have seen bespoke triggering method but not sure if everyone is using it.
> 
> Any ideas would be helpful.
trigger can be nonatomic too, you can set nonatomic = true for your pcms

-- 
~Vinod

  reply	other threads:[~2015-05-06 11:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-29 15:24 Alsa triggering methods Andy Ng
2015-05-06 11:05 ` Vinod Koul [this message]
2015-05-07 13:38 ` Clemens Ladisch

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=20150506110500.GT3521@localhost \
    --to=vinod.koul@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=andreas2025@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