Re: [Alsa-devel] snd_pcm_wait strangeness when resampling

2004-03-12 Thread Måns Rullgård
Jaroslav Kysela <[EMAIL PROTECTED]> writes: > On Thu, 11 Mar 2004, M?ns Rullg?rd wrote: > >> I've noticed some strange things with snd_pcm_wait. My application >> opens the sound device in non-blocking mode and uses snd_pcm_wait >> whenever snd_pcm_writei return EAGAIN. This works fine as long a

Re: [Alsa-devel] snd_pcm_wait strangeness when resampling

2004-03-12 Thread Måns Rullgård
Jaroslav Kysela <[EMAIL PROTECTED]> writes: > On Thu, 11 Mar 2004, M?ns Rullg?rd wrote: > >> I've noticed some strange things with snd_pcm_wait. My application >> opens the sound device in non-blocking mode and uses snd_pcm_wait >> whenever snd_pcm_writei return EAGAIN. This works fine as long a

Re: [Alsa-devel] snd_pcm_wait strangeness when resampling

2004-03-12 Thread Jaroslav Kysela
On Thu, 11 Mar 2004, M?ns Rullg?rd wrote: > I've noticed some strange things with snd_pcm_wait. My application > opens the sound device in non-blocking mode and uses snd_pcm_wait > whenever snd_pcm_writei return EAGAIN. This works fine as long as > ALSA isn't doing any resampling. However, when

[Alsa-devel] snd_pcm_wait strangeness when resampling

2004-03-11 Thread Måns Rullgård
I've noticed some strange things with snd_pcm_wait. My application opens the sound device in non-blocking mode and uses snd_pcm_wait whenever snd_pcm_writei return EAGAIN. This works fine as long as ALSA isn't doing any resampling. However, when resampling (e.g. from 44.1 kHz to 48 kHz) snd_pcm