From: irfan shaikh <irfan.shaikh@sasken.com>
To: alsa-devel@alsa-project.org
Subject: snd_pcm_open fails with -16 error
Date: Fri, 14 Oct 2011 12:05:53 +0530 [thread overview]
Message-ID: <4E97D849.1080502@sasken.com> (raw)
Hello All,
A)
In my application i am closing and reopening my device to
configure some hw_params for audio frequency change.
Close of PCM device is success, but reopen the same device fails
I get an below error
snd_pcm_open() FAIL with return value -16 {Device or resource busy}
How can i avoid above error. {I tried putting usleep between open and
close but doesn't work for me}
B)
I have even tried to configure the HW params in run time to avoid above
closing and opening of device.
But run time HW params configuartion failed.
Is there any way to change HW params at run time ? {My PCM device are in
RUNNING state and i want to change HW params at run time}
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
next reply other threads:[~2011-10-14 6:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-14 6:35 irfan shaikh [this message]
2011-10-17 11:12 ` snd_pcm_open fails with -16 error Clemens Ladisch
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=4E97D849.1080502@sasken.com \
--to=irfan.shaikh@sasken.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.