All of lore.kernel.org
 help / color / mirror / Atom feed
* snd_pcm_writei BLOCKED
@ 2011-04-25 11:17 Irfan Shaikh
  2011-04-26  7:54 ` Clemens Ladisch
  0 siblings, 1 reply; 2+ messages in thread
From: Irfan Shaikh @ 2011-04-25 11:17 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org

Hello,

          I have created two threads

1)Thread 1 :  reads audio data from USB audio class hw:1,0   (Capture device : open in BLOCKING Mode )
2)Thread2 : writes audio data to playback device hw:0,0         (Playback device : open in BLOCKING Mode )

First snd_pcm_writei() is succesfull in Thread 2
Thread2 gets stuck/blocked in second snd_pcm_writei() and does not returns.

Please  can some one please tell me Why i am facing this issue.

(Note : This happens with only with 1 specific capture device, when i connect different model i.e capture device my implementation works fine)


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] 2+ messages in thread

end of thread, other threads:[~2011-04-26  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-25 11:17 snd_pcm_writei BLOCKED Irfan Shaikh
2011-04-26  7:54 ` Clemens Ladisch

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.