/* * call-seq: * in_samplerate * * Get the input samplerate */ static VALUE get_in_samplerate(VALUE self) { lame_global_flags * gfp; Data_Get_Struct(self, lame_global_flags, gfp); return INT2NUM(lame_get_in_samplerate(gfp)); }