Re: alsa-lib pcm_share.c snd_pcm_share_open() bug ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Tue, 13 Apr 2010 10:10:02 +0200 (CEST),
Jaroslav Kysela wrote:
> 
> On Tue, 13 Apr 2010, Takashi Iwai wrote:
> 
> > At Fri, 9 Apr 2010 11:03:03 -0400,
> > Mathieu Desnoyers wrote:
> >>
> >> Hi,
> >>
> >> I was looking at snd_pcm_share_open() in alsa-lib-1.0.22, and stumbled on the
> >> following line:
> >>
> >>         pcm->monotonic = pcm->monotonic;
> >>
> >> what is that supposed to do ? There is clearly something wrong there.
> >
> > Yeah, very fishy here.
> >
> > I suppose this plugin can't handle monotonic time as is.
> > Jaroslav, could you fix that?
> 
> The plugin can handle the monotonic clock as well. The correct line should 
> be:
> 
>  	pcm->monotonic = slave->pcm->monotonic;

Ah indeed.  It's a so complex code that is barely used ;)


thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux