2009/10/22 Clemens Ladisch <clemens@xxxxxxxxxx>: > James Courtier-Dutton wrote: >> 2009/10/20 brunal2496 gmail <brunal2496@xxxxxxxxx>: >> > I've read everywhere that using callback is a bad method to use the >> > alsa drivers. >> >> This is wrong. callback is the best method. > > But _not_ the snd_async_add_pcm_handler function, which is evil. > (This is the only ALSA PCM function that mentions "callback" in its > documentation, so these are often confused.) > > The 'good' callback method means that the audio driver informs the > application when its wants to have new audio data, not the other way. > Yes, to clarify, not that call. A poll() that then does the callback is the preferred method. _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel