[alsa-devel] snd_pcm_writei() error: Write error: -32,Broken pipe
![](https://secure.gravatar.com/avatar/4c5cb07bd220c6cf7084e2debf005337.jpg?s=120&d=mm&r=g)
23 Mar
2007
23 Mar
'07
7:08 p.m.
Hello;
I am running into some trouble with writing out to the device, i get some sound and then i get the Write error. Heres the code fragment:
if (-EAGAIN == (iErr = snd_pcm_writei(handle, pu8Frames, iSizPer))) continue;
if (0 > iErr) { printf("Write error: %d,%s\n", iErr, snd_strerror(iErr));
Is the problem that my buffer (pointed to by pu8frames) isnt big enuf? or is this a different failure entirely.
If so, what are the possibilities?
tnx!
6536
Age (days ago)
6536
Last active (days ago)
0 comments
1 participants
participants (1)
-
John Utz