Re: pointer callback question

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

 



At Thu, 12 Feb 2009 19:04:10 +0100,
Tim Blechmann wrote:
> 
> Takashi Iwai wrote:
> > At Thu, 12 Feb 2009 18:55:49 +0100,
> > Tim Blechmann wrote:
> >>>> the brief log is (4 periods of 64 frames):
> >>>> stream_pointer at 64
> >>>> stream_pointer at 128
> >>>> stream_pointer at 192
> >>>> stream_pointer at 256
> >>> This is invalid.  The pointer callback must return 0 in this case.
> >>> The value the pointer callback returns is between 0 and buffer_size-1.
> >> sry, typo, 5 periods of 64 frames
> > 
> > Then it must be OK.  If the stream is stopped, it's likely by the
> > buffer underrun detection or so...
> 
> is there any way to compile alsa to get some debugging information about
> that?

Did you enable CONFIG_SND_DEBUG=y and others?


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