From: Andy Ng <andreas2025@gmail.com>
To: alsa-devel@alsa-project.org
Subject: Closing the pcm streams
Date: Thu, 18 Feb 2016 18:46:04 +0000 [thread overview]
Message-ID: <CAAVaN8wroWe7xQCAnSsx_G0ruuRLiDivL2oXuFZ7U9YGGTsRow@mail.gmail.com> (raw)
Hello,
I am working on a system that a DSP provides the audio algorithms and
in case where the DSP crashes, I would like to shutdown nicely any
opened PCM streams.
The DSP has an RPC protocol to the external world. I use a small
watchdog on ARM to monitor the "health" of the DSP. When the DSP goes
down, I reset it. However, I would like to close down smoothly the PCM
streams and inform the user that there was an error while playing. Is
there any way to inform the ALSA kernel framework in the kernel that a
specific PCM stream gone bad? Where is the best point to reset ALSA
kernel framework?
Thank you
Andy
next reply other threads:[~2016-02-18 18:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-18 18:46 Andy Ng [this message]
2016-02-19 4:28 ` Closing the pcm streams Vinod Koul
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=CAAVaN8wroWe7xQCAnSsx_G0ruuRLiDivL2oXuFZ7U9YGGTsRow@mail.gmail.com \
--to=andreas2025@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).