/*
 * call-seq:
 *    encoder.in_samplerate=
 *
 * Set the input samplerate
 */
static VALUE set_in_samplerate(VALUE self, VALUE samplerate) {