[alsa-devel] Reported latency > buffersize and sometimes <0

Werner Van Belle werner at yellowcouch.org
Wed May 18 14:00:35 CEST 2011


I recently started to check whether the new alsa drivers still work with
BpmDj (http://bpmdj.yellowcouch.org/). Thereby I encountered the problem
that the reported latency might be larger than the buffersize itself.

I guess this has to do with the asynchronity between asking the question
and retrieving the answer (e.g: a thread switch might come in between
and the actual latency is in that case bumped beyond the buffersize.. or
so .. Does this reasoning make sense ? Can I assume that such weird
values are indeed correct ?

Another problem I sometimes encounter is that the returned latency is
-1; a very annoying number since the stream was truly honoustly playing,
so how can the latency be so low then ?

With kind regards,



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20110518/53df71d7/attachment.sig 

More information about the Alsa-devel mailing list