[alsa-devel] [PATCH 2/3] ALSA: snd-usb-caiaq: set up internal sample pointer positions in trigger callback

Daniel Mack daniel at caiaq.de
Fri Sep 10 10:10:10 CEST 2010


On Fri, Sep 10, 2010 at 09:27:48AM +0200, Clemens Ladisch wrote:
> Daniel Mack wrote:
> > Calling prepare() on a stream which is already active
> 
> ... would be a bug; snd_pcm_pre_prepare() in sound/core/pcm_native.c
> should prevent this.  Why do you feel the need for this patch?

You're right, thanks for the heads-up. It was indeed a bug in a
different part of my driver which only affected the newly added model it
supports. I was increasing the periods counter for inactive streams,
which confused the ALSA core.

Forget about this one, I'll repost a new series in a second.

Thanks,
Daniel


More information about the Alsa-devel mailing list