alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Restarting a PCM device
@ 2011-10-17  9:49 irfan shaikh
  0 siblings, 0 replies; only message in thread
From: irfan shaikh @ 2011-10-17  9:49 UTC (permalink / raw)
  To: alsa-devel

Hi,

Which is the best way to restart an PCM device.
If i use a snd_pcm_close() and snd_pcm_open()

snd_pcm_open() fails with -16 {device or resource buzzy} error value
even snd_pcm_close() is sucessfull.

Is it because i am not draining or droping frames before snd_pcm_close ??


Please tell me the best way to restart a PCM device

Thanks and regards
Irfan


SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any 
 virus transmitted by this email.
Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-17  9:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-17  9:49 Restarting a PCM device irfan shaikh

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).