Re: [Alsa-devel] should i be able to abort in the middle ofsnd_pcm_mmap_{begin,commit} ?

2002-02-14 Thread Kai Vehmanen
On Wed, 13 Feb 2002, Paul Davis wrote: [xrun after mmap_begin] after restarting, the audio stream is not in sync - it contains minor crackles and clicks suggesting that the device driver doesn't really know where the hw pointer is. the effect varies with the period size, which reinforces my

Re: [Alsa-devel] should i be able to abort in the middle ofsnd_pcm_mmap_{begin,commit} ?

2002-02-13 Thread Jaroslav Kysela
On Wed, 13 Feb 2002, Paul Davis wrote: should it work for me to call snd_pcm_drop() for both playback and capture streams if i'm in the middle of a snd_pcm_mmap_{begin,commit} pair? Nope. Do you think that we need to lock these related code blocks in alsa-lib for threaded applications or

Re: [Alsa-devel] should i be able to abort in the middle ofsnd_pcm_mmap_{begin,commit} ?

2002-02-13 Thread Jaroslav Kysela
On Wed, 13 Feb 2002, Paul Davis wrote: should it work for me to call snd_pcm_drop() for both playback and capture streams if i'm in the middle of a snd_pcm_mmap_{begin,commit} pair? Nope. Do you think that we need to lock these related code blocks in alsa-lib for threaded applications