• Rafaël Carré's avatar
    opensles: use 10ms buffers · ec151444
    Rafaël Carré authored
    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.
    ec151444
opensles_android.c 17.9 KB