[alsa-devel] Restarting a PCM device

irfan shaikh irfan.shaikh at sasken.com
Mon Oct 17 11:49:55 CEST 2011


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

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

More information about the Alsa-devel mailing list