def _check_params(length, size):
    _check_size(size)
    if length % size != 0:
        raise error("not a whole number of frames")
dataset/ETHPy150Open jiaaro/pydub/pydub/pyaudioop.py/_check_params/original