[alsa-devel] Should snd_pcm_drop() interrupt snd_pcm_writei() call?

Marek Peca marek at duch.cz
Fri May 15 16:28:06 CEST 2009

>> This explains the problems I encountered. I missed the information, that
>> these functions are not meant to be thread-safe.
> Although it's not recommended, the behavior you described sounds strange.
> Could you check whether this still happens with the very latest
> alsa-lib version?

Yes, we will try to, but I need some cooperation with colleague, so it 
will take some time.

> Also I guess this depends on the plugin to be used, e.g. dmix or not.

I see. Please, can you tell me, whether I should rewrite my program to 
purely single-thread acces to snd_pcm_write & snd_pcm_drop, or should I 
expect, that in ALSA (with proper plugin) it should work in correct 

Thank you for your answers,

More information about the Alsa-devel mailing list