[vlc-devel] [PATCH] opensles: use 10ms buffers

Jean-Baptiste Kempf jb at videolan.org
Sat Feb 16 08:56:17 CET 2013


On 15 Feb, Rafaël Carré wrote :
> This rounds up to exactly 441 samples with 44.1kHz audio
> This avoids a rounding error in drift calculation of 2.31 milliseconds
> in the worst case of the buffers queue being full for the specific
> case of 44.1kHz audio (such a small error is not significative).
> 
> For unknown reasons it also fixes A/V sync issues.

Works on my N1 and N4.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list