def reverse(cp, size):
    _check_params(len(cp), size)
    sample_count = _sample_count(cp, size)

    result = create_string_buffer(len(cp))
    for i, sample in enumerate(_get_samples(cp, size)):
        _put_sample(result, size, sample_count - 1 - i, sample)

    return result.raw
dataset/ETHPy150Open jiaaro/pydub/pydub/pyaudioop.py/reverse/swapped operands of `-`