snd_pcm_writei() error: Write error: -32,Broken pipe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux