[alsa-devel] [PATCH 0/1] alsa-lib: pcm_hw: Always use delay ioctl in snd_pcm_delay()
Hello all,
this is a updated version of the alsa-lib patch I mentioned in the earlier thread: http://mailman.alsa-project.org/pipermail/alsa-devel/2009-August/020377.html
That was meant to just describe the possible problem, but now I'm more confident that this should be considered for merging. The related alsa-kernel patch is 'ALSA: Add extra delay count in PCM', which added the 'runtime->delay' property.
Please review if this patch makes sense.
Kai Vehmanen (1): pcm_hw: Always use delay ioctl in snd_pcm_delay()
src/pcm/pcm_hw.c | 22 ---------------------- 1 files changed, 0 insertions(+), 22 deletions(-)
At Fri, 11 Sep 2009 01:07:06 +0300 (EEST), Kai Vehmanen wrote:
Hello all,
this is a updated version of the alsa-lib patch I mentioned in the earlier thread: http://mailman.alsa-project.org/pipermail/alsa-devel/2009-August/020377.html
That was meant to just describe the possible problem, but now I'm more confident that this should be considered for merging. The related alsa-kernel patch is 'ALSA: Add extra delay count in PCM', which added the 'runtime->delay' property.
I don't remember why we use sync_ptr there prior to delay ioctl, but the change looks sane to me.
Applied now. Thanks!
Takashi
It seem that the problem is snd_pcm_rewindable() return a wrong value
It is unlikely for the application to rewind the application pointer to hardware pointer (e.g. usb audio, cs46xx and au88x0 )
http://thread.gmane.org/gmane.linux.alsa.devel/65759/focus=65773
2009/9/11 Kai Vehmanen kvehmanen@eca.cx
Hello all,
this is a updated version of the alsa-lib patch I mentioned in the earlier thread:
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-August/020377.html
That was meant to just describe the possible problem, but now I'm more confident that this should be considered for merging. The related alsa-kernel patch is 'ALSA: Add extra delay count in PCM', which added the 'runtime->delay' property.
Please review if this patch makes sense.
Kai Vehmanen (1): pcm_hw: Always use delay ioctl in snd_pcm_delay()
src/pcm/pcm_hw.c | 22 ---------------------- 1 files changed, 0 insertions(+), 22 deletions(-) _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
participants (3)
-
Kai Vehmanen
-
Raymond Yau
-
Takashi Iwai