From: Timur Tabi <timur@freescale.com>
To: ALSA development <alsa-devel@alsa-project.org>
Subject: Will ALSA ever call _prepare or _hw_params while it's playing?
Date: Wed, 21 May 2008 10:45:14 -0500 [thread overview]
Message-ID: <4834438A.4060702@freescale.com> (raw)
I have an ASoC driver with a _hw_params, _prepare, and _trigger functions. I've
recently discovered that I need to keep one of my devices disabled until
playback starts.
So I would like to know if ALSA will ever call _hw_params, _prepare, or _startup
if playback or capture is currently in process, or will ALSA first call the
_trigger to stop/pause the driver.
If ALSA does stop/pause the driver before changing parameters, then I can safely
assume the device is always disabled during those functions.
--
Timur Tabi
Linux kernel developer at Freescale
next reply other threads:[~2008-05-21 15:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-21 15:45 Timur Tabi [this message]
2008-05-21 15:53 ` Will ALSA ever call _prepare or _hw_params while it's playing? Clemens Ladisch
2008-05-21 15:56 ` Timur Tabi
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=4834438A.4060702@freescale.com \
--to=timur@freescale.com \
--cc=alsa-devel@alsa-project.org \
/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.