• Francois Gouget's avatar
    Revert my previous incorrect check_position() patch: Windows returns · 8b5c40fd
    Francois Gouget authored
    exactly the number of samples/bytes played (no plus one there).
    Modify check_position() to work off the actual number of bytes as
    calculated by wave_generate_la(). This fixes problems due to rounding
    when duration is not a neat integer.
    Round up the frame field when checking TIME_SMPTE.
    8b5c40fd
wave.c 21.8 KB