• Max Kellermann's avatar
    mp3: moved dropSamplesAtEnd check out of the loop · e99536e8
    Max Kellermann authored
    Simplifying loops for performance: why check dropSamplesAtEnd in every
    iteration, when we could modify the loop boundary?  The (writable)
    variable samplesLeft can be eliminated; add a write-once variable
    pcm_length instead, which is used for the loop condition.
    e99536e8
mp3_plugin.c 29.1 KB