def set_bitrate(self, kbps):
        kbps = min(128, max(16, int(kbps)))

        ret = _lib.opus_encoder_ctl(self._state, CTL_SET_BITRATE, kbps * 1024)
        if 0 < ret:
            log.info('error has happened in set_bitrate')
            raise OpusError(ret)

        return kbps
dataset/ETHPy150Open Rapptz/discord.py/discord/opus.py/Encoder.set_bitrate/swapped operands of `<`