Re: snd_pcm_writei() return value

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

 



2009/5/21 Jaroslav Kysela <perex@xxxxxxxx>:> On Thu, 21 May 2009, Cristian Morales Vega wrote:>> ? And still, in this case an interrupt would be handled by>> snd_pcm_recover() (written < 0) or by the "else" code?>> -EINTR is just noop in recover() function:>>         if (err == -EINTR)      /* nothing to do, continue */>                 return 0;
But if an interrupt happened, it could be that some samples werewritten and others no, true? If only -EINTR is returned, how I knowhow many of them I still need to write? If I write them all again thesound output will be funny._______________________________________________Alsa-devel mailing listAlsa-devel@xxxxxxxxxxxxxxxxxxxx://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