[alsa-devel] snd_pcm_writei() error: Write error: -32,Broken pipe

John Utz John.Utz at dmx.com
Fri Mar 23 19:08:42 CET 2007


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)))
      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?


More information about the Alsa-devel mailing list