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!