From: Timur Tabi <timur@freescale.com>
To: Jaroslav Kysela <perex@perex.cz>
Cc: alsa-devel@alsa-project.org
Subject: Re: Is there a function I can call from my ISR to tell ALSA to abort playback?
Date: Thu, 15 Nov 2007 09:00:54 -0600 [thread overview]
Message-ID: <473C5F26.2050807@freescale.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0711150932310.19062@tm8103.perex-int.cz>
Jaroslav Kysela wrote:
> Yes, call snd_pcm_stop() function. The call must be protected with
> snd_pcm_stream_lock... See to i2c/other/ak4117.c for an example.
That code calls snd_pcm_stop() from a timer, not an ISR. Do I need the call to
wake_up() as well?
--
Timur Tabi
Linux kernel developer at Freescale
next prev parent reply other threads:[~2007-11-15 15:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-14 20:41 Is there a function I can call from my ISR to tell ALSA to abort playback? Timur Tabi
2007-11-15 8:34 ` Jaroslav Kysela
2007-11-15 15:00 ` Timur Tabi [this message]
2007-11-15 11:45 ` Takashi Iwai
2007-11-15 20:28 ` Timur Tabi
2007-11-16 5:42 ` Takashi Iwai
2007-11-16 10:41 ` Jaroslav Kysela
2007-11-16 10:49 ` Takashi Iwai
2007-11-16 10:52 ` Jaroslav Kysela
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=473C5F26.2050807@freescale.com \
--to=timur@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=perex@perex.cz \
/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.